提交 0e265999 编写于 作者: I isidor

fixes #62873

上级 1ae88a3e
......@@ -183,7 +183,9 @@ export class Repl extends Panel implements IPrivateReplService, IHistoryNavigati
clearRepl(): void {
const session: IDebugSession = this.tree.getInput();
session.removeReplExpressions();
if (session) {
session.removeReplExpressions();
}
this.replInput.focus();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册