mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-07 11:57:21 +02:00
[core] Node: stopComputation method
- Node: stopComputation method. - Task Manager: avoid stopping the entire task manager when a node is stopped.
This commit is contained in:
parent
723e007ae6
commit
b71832ebbd
2 changed files with 7 additions and 3 deletions
|
@ -788,6 +788,12 @@ class BaseNode(BaseObject):
|
|||
def endSequence(self):
|
||||
pass
|
||||
|
||||
def stopComputation(self):
|
||||
""" Stop the computation of this node. """
|
||||
for chunk in self._chunks.values():
|
||||
if not chunk.isExtern():
|
||||
chunk.stopProcess()
|
||||
|
||||
def getGlobalStatus(self):
|
||||
"""
|
||||
Get node global status based on the status of its chunks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue