mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-10 07:36:52 +02:00
[core] taskManager: add check before pop
This commit is contained in:
parent
68162e16a4
commit
8a9499a711
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ class TaskManager(BaseObject):
|
|||
:param name:
|
||||
:return:
|
||||
"""
|
||||
self._nodes.pop(name)
|
||||
if self._nodes.contains(name):
|
||||
self._nodes.pop(name)
|
||||
|
||||
def clear(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue