simplify thread daemon usage
This commit is contained in:
parent
21dfaf7d66
commit
e1c9155ba7
4 changed files with 8 additions and 7 deletions
|
@ -682,8 +682,9 @@ class EmaneManager(ModelManager):
|
|||
)
|
||||
return
|
||||
self.doeventloop = True
|
||||
self.eventmonthread = threading.Thread(target=self.eventmonitorloop)
|
||||
self.eventmonthread.daemon = True
|
||||
self.eventmonthread = threading.Thread(
|
||||
target=self.eventmonitorloop, daemon=True
|
||||
)
|
||||
self.eventmonthread.start()
|
||||
|
||||
def stopeventmonitor(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue