Update processManager.py
This commit is contained in:
parent
8ded8a4180
commit
421a9531df
@ -16,7 +16,7 @@ class processManager():
|
|||||||
self._Threads = []
|
self._Threads = []
|
||||||
def initialize(self, environment):
|
def initialize(self, environment):
|
||||||
self.env = 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)
|
self.addSimpleEventThread(fenrirEventType.HeartBeat, self.heartBeatTimer, multiprocess=True)
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
self.terminateAllProcesses()
|
self.terminateAllProcesses()
|
||||||
|
Loading…
Reference in New Issue
Block a user