Skip to content

Commit

Permalink
Update src/client/activation/activationManager.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: karrtikr <karraj@microsoft.com>
  • Loading branch information
DonJayamanne and karrtikr committed Jan 23, 2019
1 parent 5462a5c commit 2df2879
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/activation/activationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export class ExtensionActivationManager implements IExtensionActivationManager {
const disposable = this.disposables.shift();
disposable.dispose();
}
if (this. docOpenedHandler){
this.docOpenedHandler.dispose();
this.docOpenedHandler = undefined;
}
}
public async activate(): Promise<void> {
await this.initialize();
Expand Down

0 comments on commit 2df2879

Please sign in to comment.