fix: release execution controls after callback failure
This commit is contained in:
1 parent
7da623d055
commit
7bdaaeb2ec
2 files changed
+16
No files matched your search
@@ -854,6 +854,11 @@ class TrialTaskCenterWindow(QMainWindow):
|
||||
except Exception as error:
|
||||
operation_error = error
|
||||
self._close_pending = False
|
||||
if execution:
|
||||
# A result renderer is part of the worker lifecycle.
|
||||
# If it fails, release the execution controls just as
|
||||
# the service failure path does.
|
||||
self._finish_run()
|
||||
self.operation_state = self.operation_state.finish(error)
|
||||
self._show_error(error)
|
||||
def failed(error):
|
||||
|
||||
Reference in new issue
Block a user