Skip to content

Commit f45dffc

Browse files
committed
Move log message outside of 'if' block so I have confirmation that smoething happened
1 parent 9c80241 commit f45dffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ class NotebookExecutionListeners extends Disposable {
306306
if (kernel) {
307307
const implementsInterrupt = kernel.implementsInterrupt;
308308
const handlesToCancel = implementsInterrupt ? [...executingDeletedHandles] : [...executingDeletedHandles, ...pendingDeletedHandles];
309+
this._logService.debug(`NotebookExecution#onWillAddRemoveCells, ${JSON.stringify([...handlesToCancel])}`);
309310
if (handlesToCancel.length) {
310-
this._logService.debug(`NotebookExecution#onWillAddRemoveCells, ${JSON.stringify([...handlesToCancel])}`);
311311
kernel.cancelNotebookCellExecution(this._notebookModel.uri, handlesToCancel);
312312
}
313313
}

0 commit comments

Comments
 (0)