improve queue shutdown to avoid stale files

This commit is contained in:
Jakob Ketterl
2021-01-17 17:49:03 +01:00
parent 0f81964598
commit a0eeea8fe3
2 changed files with 46 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ from owrx.service import Services
from owrx.websocket import WebSocketConnection
from owrx.reporting import ReportingEngine
from owrx.version import openwebrx_version
from owrx.audio import DecoderQueue
class ThreadedHttpServer(ThreadingMixIn, HTTPServer):
@@ -68,3 +69,4 @@ Support and info: https://groups.io/g/openwebrx
WebSocketConnection.closeAll()
Services.stop()
ReportingEngine.stopAll()
DecoderQueue.stopAll()