mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
towards ext-host-restart: properly implement dispose-methods in variouds MainThreadXYZ-types
This commit is contained in:
@@ -240,6 +240,11 @@ export class SaveParticipant implements ISaveParticipant {
|
||||
// Hook into model
|
||||
TextFileEditorModel.setSaveParticipant(this);
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
TextFileEditorModel.setSaveParticipant(undefined);
|
||||
}
|
||||
|
||||
participate(model: ITextFileEditorModel, env: { reason: SaveReason }): TPromise<void> {
|
||||
|
||||
const stats: { [name: string]: number } = Object.create(null);
|
||||
|
||||
Reference in New Issue
Block a user