mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 20:25:40 +01:00
committed by
GitHub
parent
3be3a1523c
commit
a560e4b97d
@@ -86,7 +86,7 @@ export class NotebookEditorInput extends AbstractResourceEditorInput {
|
||||
});
|
||||
|
||||
this._register(extensionService.onWillStop(e => {
|
||||
if (!this.isDirty()) {
|
||||
if (!e.auto && !this.isDirty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user