Skip to content

Commit dd0456c

Browse files
authored
Ensure interrupt button is always enabled (#11461)
For #10587
1 parent 76737d0 commit dd0456c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/client/datascience/interactive-common/interactiveBase.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ export abstract class InteractiveBase extends WebViewHost<IInteractiveWindowMapp
412412
public async interruptKernel(): Promise<void> {
413413
if (this._notebook && !this.restartingKernel) {
414414
this.restartingKernel = true;
415-
this.startProgress();
416415

417416
const status = this.statusProvider.set(
418417
localize.DataScience.interruptKernelStatus(),
@@ -448,7 +447,6 @@ export abstract class InteractiveBase extends WebViewHost<IInteractiveWindowMapp
448447
this.applicationShell.showErrorMessage(err);
449448
} finally {
450449
this.restartingKernel = false;
451-
this.stopProgress();
452450
}
453451
}
454452
}

0 commit comments

Comments
 (0)