mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed a shutdown error
This commit is contained in:
parent
93a9cba781
commit
6b36bef04f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class SM:
|
||||||
elif cmd in ['stop'] and self.modem:
|
elif cmd in ['stop'] and self.modem:
|
||||||
self.stop_modem()
|
self.stop_modem()
|
||||||
self.stop_radio_manager()
|
self.stop_radio_manager()
|
||||||
if self.config['SOCKET_INTERFACE']['enable']:
|
if self.config['SOCKET_INTERFACE']['enable'] and self.socket_interface_manager:
|
||||||
self.socket_interface_manager.stop_servers()
|
self.socket_interface_manager.stop_servers()
|
||||||
# we need to wait a bit for avoiding a portaudio crash
|
# we need to wait a bit for avoiding a portaudio crash
|
||||||
threading.Event().wait(0.5)
|
threading.Event().wait(0.5)
|
||||||
|
|
Loading…
Reference in a new issue