We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a01166 commit 45e724eCopy full SHA for 45e724e
simvue/run.py
@@ -164,7 +164,7 @@ def __enter__(self):
164
def __exit__(self, type, value, traceback):
165
logger.debug('Automatically closing run %s in status %s', self._name, self._status)
166
167
- if self._name and self._status == 'running':
+ if (self._name or self._mode == 'offline') and self._status == 'running':
168
if self._shutdown_event is not None:
169
self._shutdown_event.set()
170
if not type:
0 commit comments