mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
dispose empty comment thread when collapse.
This commit is contained in:
@@ -366,6 +366,14 @@ export class MainThreadCommentController {
|
||||
thread.dispose();
|
||||
}
|
||||
|
||||
deleteCommentThreadMain(commentThreadId: string) {
|
||||
this._threads.forEach(thread => {
|
||||
if (thread.threadId === commentThreadId) {
|
||||
this._proxy.$deleteCommentThread(this._handle, thread.commentThreadHandle);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
updateInput(input: string) {
|
||||
let thread = this.activeCommentThread;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user