catch error resulting from monitor race condition

This commit is contained in:
Jakob Ketterl 2022-01-11 21:56:16 +01:00
parent 5adb53d990
commit 39bfba673b

View File

@ -376,6 +376,9 @@ class SdrSource(ABC):
except ProcessLookupError:
# been killed by something else, ignore
pass
except AttributeError:
# self.process has been overwritten by the monitor since we checked it, which is fine
pass
if self.monitor:
self.monitor.join()
if self.tcpSource is not None: