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,6 +72,8 @@ 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:
pass
WebSocketConnection.closeAll() WebSocketConnection.closeAll()
Services.stop() Services.stop()
ReportingEngine.stopAll() ReportingEngine.stopAll()