Closed nickschot closed 7 years ago
Merging #703 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #703 +/- ##
=======================================
Coverage 92.44% 92.44%
=======================================
Files 180 180
Lines 2012 2012
=======================================
Hits 1860 1860
Misses 152 152
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update df96fd6...4a6ae9f. Read the comment docs.
After some more reading this might not fully remove the (old) worker. Disconnect seems to close only the IPC channel.
We could just call kill on the worker after the disconnect went through as "reload" is only used in development anyway (or keep the timeout running in the background though that's less pretty I think).
Fixes #702
I've reordered the code a bit to make sure the listeners are attached before they can happen.