Open wanderer opened 9 years ago
the problem is that node spins up a new independent process. when the main process shuts down by default it ask the child_process to shutdown. But if it crashes it won't get to asking the child_process
wait i don't even start the WS server in a child process....
hmmm... well the only problem im having right now is with the ws server
maybe we just need to setup a listener for killing the ws server you'd think you'd get that for free but we're not
ok so this was defaintly a problem with the db server. And thats now fixed. WS issue is still open but I can't seem to replicate it
e.g. when the main process crashes, the websockets server sticks around and blocks the port -- requiring a force stop every time