mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fixed memory leak when task is removed via Task.remove()
This commit is contained in:
parent
d031eb8688
commit
a88673a24a
@ -770,6 +770,7 @@ class TaskManager:
|
||||
# because finishTask is safe to call twice
|
||||
task.finishTask(self.fVerbose)
|
||||
taskPriList.remove(i)
|
||||
self.__removeTaskFromNameDict(task)
|
||||
# Do not increment the iterator
|
||||
continue
|
||||
# Now actually execute the task
|
||||
|
Loading…
x
Reference in New Issue
Block a user