This commit is contained in:
muwoo
2023-10-31 12:19:35 +08:00
parent 6ae15b8f37
commit e8c8f40bae
3 changed files with 3 additions and 6 deletions

View File

@@ -166,6 +166,8 @@ export default () => {
const removeView = (window: BrowserWindow) => {
if (!view) return;
window.removeBrowserView(view);
window.setBrowserView(null);
view.webContents.destroy();
// window.setSize(800, 60);
executeHooks('PluginOut', null);
window.webContents?.executeJavaScript(`window.initRubick()`);