mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-15 12:51:00 +01:00
debt - fix a leak (#240252)
This commit is contained in:
@@ -27,7 +27,7 @@ export class CommandCenterControl {
|
||||
|
||||
private readonly _disposables = new DisposableStore();
|
||||
|
||||
private readonly _onDidChangeVisibility = new Emitter<void>();
|
||||
private readonly _onDidChangeVisibility = this._disposables.add(new Emitter<void>());
|
||||
readonly onDidChangeVisibility: Event<void> = this._onDidChangeVisibility.event;
|
||||
|
||||
readonly element: HTMLElement = document.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user