catch error resulting from monitor race condition
This commit is contained in:
parent
5adb53d990
commit
39bfba673b
@ -376,6 +376,9 @@ class SdrSource(ABC):
|
|||||||
except ProcessLookupError:
|
except ProcessLookupError:
|
||||||
# been killed by something else, ignore
|
# been killed by something else, ignore
|
||||||
pass
|
pass
|
||||||
|
except AttributeError:
|
||||||
|
# self.process has been overwritten by the monitor since we checked it, which is fine
|
||||||
|
pass
|
||||||
if self.monitor:
|
if self.monitor:
|
||||||
self.monitor.join()
|
self.monitor.join()
|
||||||
if self.tcpSource is not None:
|
if self.tcpSource is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user