File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export class NativeRepl implements Disposable {
7373 if ( this . notebookDocument && nb . uri . toString ( ) === this . notebookDocument . uri . toString ( ) ) {
7474 this . notebookDocument = undefined ;
7575 this . newReplSession = true ;
76- updateWorkspaceStateValue < string | undefined > ( NATIVE_REPL_URI_MEMENTO , undefined ) ;
76+ await updateWorkspaceStateValue < string | undefined > ( NATIVE_REPL_URI_MEMENTO , undefined ) ;
7777 }
7878 } ) ,
7979 ) ;
@@ -171,7 +171,7 @@ export class NativeRepl implements Disposable {
171171 ) ;
172172 if ( notebookEditor ) {
173173 this . notebookDocument = notebookEditor . notebook ;
174- updateWorkspaceStateValue < string | undefined > (
174+ await updateWorkspaceStateValue < string | undefined > (
175175 NATIVE_REPL_URI_MEMENTO ,
176176 this . notebookDocument . uri . toString ( ) ,
177177 ) ;
@@ -192,7 +192,7 @@ export class NativeRepl implements Disposable {
192192 */
193193 private async cleanRepl ( ) : Promise < void > {
194194 this . notebookDocument = undefined ;
195- updateWorkspaceStateValue < string | undefined > ( NATIVE_REPL_URI_MEMENTO , undefined ) ;
195+ await updateWorkspaceStateValue < string | undefined > ( NATIVE_REPL_URI_MEMENTO , undefined ) ;
196196 }
197197}
198198
You can’t perform that action at this time.
0 commit comments