提交 b29fec00 编写于 作者: J Johannes Rieken

fix add after dispose issues

上级 17cd9fb7
......@@ -208,7 +208,7 @@ export class SnippetController2 implements IEditorContribution {
this._inSnippet.reset();
this._hasPrevTabstop.reset();
this._hasNextTabstop.reset();
dispose(this._snippetListener);
this._snippetListener.clear();
dispose(this._session);
this._session = undefined;
this._modelVersionId = -1;
......
......@@ -149,6 +149,7 @@ export class SuggestController implements IEditorContribution {
}
dispose(): void {
this._alternatives.dispose();
this._toDispose.dispose();
this._widget.dispose();
this._model.dispose();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册