set smaller timeout; unfinished thread handling here; WIP

This commit is contained in:
chrys 2017-06-25 15:37:04 +02:00
parent 0aaf916b7d
commit 9bee489bc7

View File

@ -87,7 +87,7 @@ class eventManager():
#print('ALL loop ' + str(time.time() - st)) #print('ALL loop ' + str(time.time() - st))
def handleStopMainLoop(self): def handleStopMainLoop(self):
self._mainLoopRunning.value = 0 self._mainLoopRunning.value = 0
time.sleep(3.5) time.sleep(0.1)
def stopMainEventLoop(self, Force = False): def stopMainEventLoop(self, Force = False):
if Force: if Force:
self._mainLoopRunning.value = 0 self._mainLoopRunning.value = 0