未验证 提交 cc58cee2 编写于 作者: G GitSquared

🐛 Prevent possible error message on renderer close

上级 cfee5440
......@@ -287,7 +287,9 @@ class Terminal {
}
if (this.renderer && this._nextTickUpdateProcess) {
this.renderer.send("terminal_channel-"+this.port, "New process", this.tty._file);
if (this.renderer) {
this.renderer.send("terminal_channel-"+this.port, "New process", this.tty._file);
}
this._nextTickUpdateProcess = false;
}
}, 1000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册