File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/client/datascience/interactive-common Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1818 ([ #11334 ] ( https://github.com/Microsoft/vscode-python/issues/11334 ) )
19191 . Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting.
2020 ([ #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 ) )
2123
2224### Thanks
2325
Original file line number Diff line number Diff line change @@ -281,7 +281,13 @@ export class NotebookProvider implements INotebookProvider {
281281 }
282282
283283 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 ) ;
285291 } ) ;
286292
287293 this . notebooks . clear ( ) ;
You can’t perform that action at this time.
0 commit comments