mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
always perform shutdown tasks
This commit is contained in:
parent
9351e4793c
commit
19c8432371
1 changed files with 6 additions and 4 deletions
|
|
@ -72,7 +72,9 @@ Support and info: https://groups.io/g/openwebrx
|
|||
server = ThreadedHttpServer(("0.0.0.0", coreConfig.get_web_port()), RequestHandler)
|
||||
server.serve_forever()
|
||||
except SignalException:
|
||||
WebSocketConnection.closeAll()
|
||||
Services.stop()
|
||||
ReportingEngine.stopAll()
|
||||
DecoderQueue.stopAll()
|
||||
pass
|
||||
|
||||
WebSocketConnection.closeAll()
|
||||
Services.stop()
|
||||
ReportingEngine.stopAll()
|
||||
DecoderQueue.stopAll()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue