Skip to content

Commit 8d5ef8f

Browse files
committed
dispose
1 parent 697b959 commit 8d5ef8f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

frontend/app/view/webview/webview.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ export class WebViewModel implements ViewModel {
212212
});
213213
}
214214

215+
dispose() {
216+
this.ctrlShiftUnsubFn?.();
217+
this.ctrlShiftUnsubFn = null;
218+
}
219+
215220
get viewComponent(): ViewComponent {
216221
return WebView;
217222
}

0 commit comments

Comments
 (0)