未验证 提交 86b094d6 编写于 作者: A Alexandru Dima 提交者: GitHub

Merge pull request #46012 from jjyyxx/master

Avoid accessing vsWorker of undefined / null value
......@@ -116,7 +116,7 @@ class SimpleWorkerProtocol {
} catch (e) {
// nothing
}
if (!message.vsWorker) {
if (!message || !message.vsWorker) {
return;
}
if (this._workerId !== -1 && message.vsWorker !== this._workerId) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册