Update processManager.py

This commit is contained in:
chrys87 2017-08-04 13:47:01 +02:00 committed by GitHub
parent 8ded8a4180
commit 421a9531df

View File

@ -16,7 +16,7 @@ class processManager():
self._Threads = []
def initialize(self, environment):
self.env = environment
self.running = self.env['runtime']['eventManager'].getMainLoopRunning()
self.running = self.env['runtime']['eventManager'].getRunning()
self.addSimpleEventThread(fenrirEventType.HeartBeat, self.heartBeatTimer, multiprocess=True)
def shutdown(self):
self.terminateAllProcesses()