We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc5b11 commit 7852f5bCopy full SHA for 7852f5b
src/webviews/chat/chatPanelProvider.ts
@@ -54,7 +54,7 @@ export class ChatPanelProvider
54
}),
55
);
56
this.renderView();
57
- webviewView.onDidDispose(() => this.disposeInternals());
+ webviewView.onDidDispose(() => this.dispose());
58
}
59
60
public refresh(): void {
@@ -183,14 +183,10 @@ text-align:center;}</style></head>
183
<body><p>No active chat session. Open a chat from the Agents tab on your Coder deployment.</p></body></html>`;
184
185
186
- private disposeInternals(): void {
+ dispose(): void {
187
for (const d of this.disposables) {
188
d.dispose();
189
190
this.disposables = [];
191
192
-
193
- dispose(): void {
194
- this.disposeInternals();
195
- }
196
0 commit comments