Beremiz_service.py
branchwxPython4
changeset 3642 cd3d15e8ef42
parent 3617 c3aae4c95bc1
child 3738 9ce94d0d3764
--- a/Beremiz_service.py	Fri Oct 21 17:52:45 2022 +0200
+++ b/Beremiz_service.py	Fri Oct 21 18:33:06 2022 +0200
@@ -587,7 +587,7 @@
 
     # interleaved worker copes with wxreactor by delegating all asynchronous
     # calls to wx's mainloop
-    runtime.MainWorker.interleave(waker_func, FirstWorkerJob)
+    runtime.MainWorker.interleave(waker_func, reactor.stop, FirstWorkerJob)
 
     try:
         reactor.run(installSignalHandlers=False)