提交 237256b1 编写于 作者: A Andre Weinand

do not try to terminate undefined raw session

上级 afe8d7fc
......@@ -154,7 +154,9 @@ export class DebugService implements IDebugService {
}
if (broadcast.channel === EXTENSION_TERMINATE_BROADCAST_CHANNEL) {
session.raw.terminate().done(undefined, errors.onUnexpectedError);
if (session.raw) {
session.raw.terminate().done(undefined, errors.onUnexpectedError);
}
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册