do not use interruptions to abort execution

This commit is contained in:
2023-02-28 20:17:25 +01:00
parent eb9904a30b
commit be550ebac5
8 changed files with 108 additions and 24 deletions

View File

@@ -138,11 +138,11 @@ export class VisualizationPageComponent implements OnInit {
abort() {
this.plotService.abort(this.submitterId).subscribe({
complete: () => {
this.plotView.imageUrl = '';
this.plotView.stats = null;
this.plotJobActive = false;
this.showError("Job aborted");
document.dispatchEvent(new Event("invadersPause", {}));
//this.plotView.imageUrl = '';
//this.plotView.stats = null;
//this.plotJobActive = false;
//this.showError("Job aborted");
//document.dispatchEvent(new Event("invadersPause", {}));
}
});
}