We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a292900 commit 20deeeeCopy full SHA for 20deeee
1 file changed
src/vs/editor/contrib/gotoError/browser/gotoError.ts
@@ -462,8 +462,10 @@ class MarkerController implements editorCommon.IEditorContribution {
462
private _cleanUp(): void {
463
this._markersNavigationVisible.reset();
464
this._callOnClose = dispose(this._callOnClose);
465
- this._zone.dispose();
466
- this._zone = null;
+ if (this._zone) {
+ this._zone.dispose();
467
+ this._zone = null;
468
+ }
469
this._model = null;
470
}
471
0 commit comments