Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
7c994f2b
Commit
7c994f2b
authored
Oct 04, 2022
by
Jonas Kaufmann
Browse files
prevent interrupting Runtime twice
parent
1da567f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
experiments/simbricks/orchestration/runtime/common.py
experiments/simbricks/orchestration/runtime/common.py
+2
-0
No files found.
experiments/simbricks/orchestration/runtime/common.py
View file @
7c994f2b
...
@@ -98,4 +98,6 @@ class Runtime(metaclass=ABCMeta):
...
@@ -98,4 +98,6 @@ class Runtime(metaclass=ABCMeta):
As a consequence all currently running simulators should be stopped
As a consequence all currently running simulators should be stopped
cleanly and their output collected.
cleanly and their output collected.
"""
"""
if
self
.
_interrupted
:
return
self
.
_interrupted
=
True
self
.
_interrupted
=
True
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment