mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
Move log message outside of 'if' block so I have confirmation that smoething happened
This commit is contained in:
parent
9c802415e1
commit
f45dffcd1f
|
@ -306,8 +306,8 @@ class NotebookExecutionListeners extends Disposable {
|
|||
if (kernel) {
|
||||
const implementsInterrupt = kernel.implementsInterrupt;
|
||||
const handlesToCancel = implementsInterrupt ? [...executingDeletedHandles] : [...executingDeletedHandles, ...pendingDeletedHandles];
|
||||
this._logService.debug(`NotebookExecution#onWillAddRemoveCells, ${JSON.stringify([...handlesToCancel])}`);
|
||||
if (handlesToCancel.length) {
|
||||
this._logService.debug(`NotebookExecution#onWillAddRemoveCells, ${JSON.stringify([...handlesToCancel])}`);
|
||||
kernel.cancelNotebookCellExecution(this._notebookModel.uri, handlesToCancel);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue