From c1f73255b530e025c5dce4020decc0ef867db22d Mon Sep 17 00:00:00 2001 From: Yurong He Date: Mon, 20 May 2019 21:52:36 -0700 Subject: [PATCH] Fixed #3936 display cancel msg when interrupt run cell (#5518) --- src/sql/workbench/parts/notebook/models/cell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sql/workbench/parts/notebook/models/cell.ts b/src/sql/workbench/parts/notebook/models/cell.ts index 6b96fb6d25..1a385d0ac9 100644 --- a/src/sql/workbench/parts/notebook/models/cell.ts +++ b/src/sql/workbench/parts/notebook/models/cell.ts @@ -213,6 +213,7 @@ export class CellModel implements ICellModel { if (this.future && this.future.inProgress) { this.future.inProgress = false; await kernel.interrupt(); + this.sendNotification(notificationService, Severity.Info, localize('runCellCancelled', "Cell execution cancelled")); } else { // TODO update source based on editor component contents if (kernel.requiresConnection && !this.notebookModel.activeConnection) {