提交 3f60a259 编写于 作者: J Johannes Rieken

fix #6212

上级 a5c88e7a
......@@ -157,8 +157,11 @@ export class AIAdapter implements IAIAdapter {
}
public dispose(): void {
this._aiClient.sendPendingData(() => {
// all data flushed
});
if (this._aiClient) {
this._aiClient.sendPendingData(() => {
// all data flushed
this._aiClient = undefined;
});
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册