taskMgr not a global on AI

This commit is contained in:
David Rose 2008-10-24 22:13:20 +00:00
parent 05a2432673
commit c0e0d63de4

View File

@ -212,4 +212,6 @@ class EventManager:
taskMgr.add(self.eventLoopTask, 'eventManager')
def shutdown(self):
# Should be safe to import the global taskMgr by now.
from direct.task.TaskManagerGlobal import taskMgr
taskMgr.remove('eventManager')