mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-25 14:16:07 +00:00
Fix bug in job.terminate()
This commit is contained in:
parent
01a03d0e07
commit
bdb8321069
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ class SbyJob:
|
||||||
return self.models[model_name]
|
return self.models[model_name]
|
||||||
|
|
||||||
def terminate(self, timeout=False):
|
def terminate(self, timeout=False):
|
||||||
for task in self.tasks_running:
|
for task in list(self.tasks_running):
|
||||||
task.terminate(timeout=timeout)
|
task.terminate(timeout=timeout)
|
||||||
|
|
||||||
def update_status(self, new_status):
|
def update_status(self, new_status):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue