Skip to content

Commit 108f78f

Browse files
authored
Merge pull request microsoft#142547 from microsoft/roblou/142466
Fix missing "pending" icon
2 parents d9f91a5 + 252f689 commit 108f78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export class NotebookExecutionStateService extends Disposable implements INotebo
115115
if (!exe) {
116116
exe = this._createNotebookCellExecution(notebook, cellHandle);
117117
notebookExecutionMap.set(cellHandle, exe);
118+
this._onDidChangeCellExecution.fire(new NotebookExecutionEvent(notebookUri, cellHandle, exe));
118119
}
119120

120121
return exe;
@@ -128,7 +129,6 @@ export class NotebookExecutionStateService extends Disposable implements INotebo
128129
exe.onDidComplete(() => this._onCellExecutionDidComplete(notebookUri, cellHandle, exe)));
129130
this._cellListeners.set(CellUri.generate(notebookUri, cellHandle), disposable);
130131

131-
this._onDidChangeCellExecution.fire(new NotebookExecutionEvent(notebookUri, cellHandle, exe));
132132
return exe;
133133
}
134134

0 commit comments

Comments
 (0)