Skip to content

Commit cf70794

Browse files
committed
Fix #230. Dispose listeners.
1 parent 92f231e commit cf70794

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github/pullRequestOverview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class PullRequestOverviewPanel {
8282
isCurrentlyCheckedOut: isCurrentlyCheckedOut
8383
});
8484
}
85-
});
85+
}, null, this._disposables);
8686

8787
onDidClosePR(pr => {
8888
if (pr) {
@@ -93,7 +93,7 @@ export class PullRequestOverviewPanel {
9393
command: 'update-state',
9494
state: this._pullRequest.state,
9595
});
96-
});
96+
}, null, this._disposables);
9797
}
9898

9999
public async update(pullRequestModel: IPullRequestModel) {

0 commit comments

Comments
 (0)