mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
clear the multiprocessing queue to get rid of more file descriptors,
refs #146
This commit is contained in:
parent
369a61ec59
commit
d9bc03d1fc
|
|
@ -37,6 +37,11 @@ class Client(ABC):
|
|||
self.send(data)
|
||||
except (EOFError, OSError):
|
||||
run = False
|
||||
except Exception:
|
||||
logger.exception("Exception on client multiprocessing queue")
|
||||
|
||||
# unset the queue object to free shared memory file descriptors
|
||||
self.multiprocessingPipe = None
|
||||
|
||||
threading.Thread(target=mp_passthru).start()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue