mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[core] TaskManager: fix issue and undeclared member
This commit is contained in:
parent
2083d83d14
commit
d6f9ee179f
1 changed files with 2 additions and 1 deletions
|
@ -84,6 +84,7 @@ class TaskManager(BaseObject):
|
|||
self._graph = None
|
||||
self._nodes = DictModel(keyAttrName='_name', parent=self)
|
||||
self._nodesToProcess = []
|
||||
self._nodesExtern = []
|
||||
# internal thread in which local tasks are executed
|
||||
self._thread = TaskThread(self)
|
||||
|
||||
|
@ -132,7 +133,7 @@ class TaskManager(BaseObject):
|
|||
:param name:
|
||||
:return:
|
||||
"""
|
||||
if self._nodes.contains(name):
|
||||
if name in self._nodes.keys():
|
||||
self._nodes.pop(name)
|
||||
|
||||
def clear(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue