eugenegujing commented on code in PR #8936:
URL: https://github.com/apache/texera/pull/8936#discussion_r4520520697


##########
frontend/src/app/workspace/service/execute-workflow/execute-workflow.service.ts:
##########
@@ -140,6 +140,13 @@ export class ExecuteWorkflowService {
           }
       }
     });
+
+    // Ends an in-flight run when the selected unit is gone; console and 
results are kept.
+    computingUnitStatusService.getSelectedComputingUnit().subscribe(unit => {
+      if (unit === null && this.isExecutionInFlight()) {
+        this.resetExecutionAndWorkers();
+      }
+    });

Review Comment:
   Merged main to pick up #8855 and done in 
8d8847ef1cdd891cdea381d8e7937115e3313b11



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to