提交 3d69f453 编写于 作者: R rebornix

Fix microsoft/vscode-pull-request-github#258. Dipose decorations when it's not...

Fix microsoft/vscode-pull-request-github#258. Dipose decorations when it's not a valid comment thread.
上级 d7911500
......@@ -582,7 +582,7 @@ export class ReviewZoneWidget extends ZoneWidget {
this.show({ lineNumber: lineNumber, column: 1 }, 2);
} else {
this.hide();
if (this._commentThread === null) {
if (this._commentThread === null || this._commentThread.threadId === null) {
this.dispose();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册