mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Removed disposeListeners from commandService and only remove listener on MainThreadCommands
This commit is contained in:
@@ -49,7 +49,7 @@ export class ExtHostCommands implements ExtHostCommandsShape {
|
||||
this._proxy = mainContext.getProxy(MainContext.MainThreadCommands);
|
||||
this._onDidExecuteCommand = new Emitter<ICommandEvent>({
|
||||
onFirstListenerDidAdd: this._proxy.$onDidExecuteCommand,
|
||||
onLastListenerRemove: this._proxy.$disposeListeners,
|
||||
onLastListenerRemove: this._proxy.$disposeListener,
|
||||
});
|
||||
this.onDidExecuteCommandEmitter = this._onDidExecuteCommand.event;
|
||||
this._logService = logService;
|
||||
|
||||
Reference in New Issue
Block a user