@lvce-editor/main-process 6.37.11 → 6.37.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6403,7 +6403,9 @@ const handler$7 = (_event, webContentsId) => {
6403
6403
  view
6404
6404
  } = instance;
6405
6405
  remove(webContentsId);
6406
- browserWindow.contentView.removeChildView(view);
6406
+ if (!browserWindow.isDestroyed()) {
6407
+ browserWindow.contentView.removeChildView(view);
6408
+ }
6407
6409
  }
6408
6410
  return {
6409
6411
  messages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "6.37.11",
3
+ "version": "6.37.12",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"