File tree 2 files changed +9
-1
lines changed
src/client/datascience/interactive-common 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 18
18
([ #11334 ] ( https://github.com/Microsoft/vscode-python/issues/11334 ) )
19
19
1 . Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting.
20
20
([ #11352 ] ( https://github.com/Microsoft/vscode-python/issues/11352 ) )
21
+ 1 . Closing the interactive window shuts down other active notebook sessions.
22
+ ([ #11404 ] ( https://github.com/Microsoft/vscode-python/issues/11404 ) )
21
23
22
24
### Thanks
23
25
Original file line number Diff line number Diff line change @@ -281,7 +281,13 @@ export class NotebookProvider implements INotebookProvider {
281
281
}
282
282
283
283
Array . from ( this . notebooks . values ( ) ) . forEach ( ( promise ) => {
284
- promise . then ( ( notebook ) => notebook . dispose ( ) ) . catch ( noop ) ;
284
+ promise
285
+ . then ( ( notebook ) => {
286
+ if ( notebook . identity . scheme === 'history' ) {
287
+ notebook . dispose ( ) . ignoreErrors ( ) ;
288
+ }
289
+ } )
290
+ . catch ( noop ) ;
285
291
} ) ;
286
292
287
293
this . notebooks . clear ( ) ;
You can’t perform that action at this time.
0 commit comments