always perform shutdown tasks

This commit is contained in:
Jakob Ketterl 2021-04-11 18:42:35 +02:00
parent 9351e4793c
commit 19c8432371

View File

@ -72,7 +72,9 @@ Support and info: https://groups.io/g/openwebrx
server = ThreadedHttpServer(("0.0.0.0", coreConfig.get_web_port()), RequestHandler) server = ThreadedHttpServer(("0.0.0.0", coreConfig.get_web_port()), RequestHandler)
server.serve_forever() server.serve_forever()
except SignalException: except SignalException:
WebSocketConnection.closeAll() pass
Services.stop()
ReportingEngine.stopAll() WebSocketConnection.closeAll()
DecoderQueue.stopAll() Services.stop()
ReportingEngine.stopAll()
DecoderQueue.stopAll()