The Exporter and HTTPServer are not connected by channels to the Runtime,
only indirectly through mutating effects on the Store. As such we can't rely on
the Exporter to shut down automatically when the Runtime shuts down.
Here instead we remove the WaitGroup and allow an Exporter to be shut down
explicitly after the WaitGroup is Done.
The
Exporter
andHTTPServer
are not connected by channels to theRuntime
, only indirectly through mutating effects on the Store. As such we can't rely on theExporter
to shut down automatically when theRuntime
shuts down.Here instead we remove the
WaitGroup
and allow anExporter
to be shut down explicitly after theWaitGroup
isDone
.Issue: #331