mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-21 02:11:11 +00:00
only add listeners when enabled (#255914)
This commit is contained in:
@@ -50,9 +50,8 @@ export class TroubleshootController extends Disposable implements INotebookEdito
|
||||
return;
|
||||
}
|
||||
|
||||
this._updateListener();
|
||||
|
||||
if (this._enabled) {
|
||||
this._updateListener();
|
||||
this._createNotebookOverlay();
|
||||
this._createCellOverlays();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user