also have ShutdownReason inside shutdown event

This commit is contained in:
Benjamin Pasero
2016-11-29 10:15:42 +01:00
parent 5aeba8bf1b
commit 6cb2b0990d
10 changed files with 23 additions and 30 deletions

View File

@@ -729,7 +729,7 @@ export class EditorStacksModel implements IEditorStacksModel {
}
private registerListeners(): void {
this.toDispose.push(this.lifecycleService.onShutdown(() => this.onShutdown()));
this.toDispose.push(this.lifecycleService.onShutdown(reason => this.onShutdown()));
}
public get onGroupOpened(): Event<EditorGroup> {