提交 9a864764 编写于 作者: J Johannes Rieken

fix #53533

上级 09ba193f
......@@ -136,11 +136,15 @@ class RequestOracle {
let modeListener = codeEditor.onDidChangeModelLanguage(_ => {
this._callback(codeEditor, undefined);
});
let disposeListener = codeEditor.onDidDispose(() => {
this._callback(undefined, undefined);
});
this._sessionDisposable = {
dispose() {
contentListener.dispose();
clearTimeout(handle);
modeListener.dispose();
disposeListener.dispose();
}
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册