daemon: adjustment for emane monitor shutdown to avoid locking

This commit is contained in:
Blake Harnden 2021-05-19 20:49:18 -07:00
parent 5bc3345d37
commit 6b5148566c

View file

@ -613,11 +613,11 @@ class EmaneManager:
self.doeventloop = False
if self.service is not None:
self.service.breakloop()
# reset the service, otherwise nextEvent won"t work
self.deleteeventservice()
if self.eventmonthread is not None:
self.eventmonthread.join()
self.eventmonthread = None
# reset the service, otherwise nextEvent won"t work
self.deleteeventservice()
def eventmonitorloop(self) -> None:
"""