mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
JavaScript error ,After closing the new window #647
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sFireFrog on GitHub (Mar 24, 2021).
Electron.NET CLI and API :11.5.1
.NET Version:.net 5.0
Node.js Version: 14.16.0
I already have the main window and create a new window. If I close the new window and then call up the development tool, an error will be reported.

Steps to Reproduce:
@aschaefer94 commented on GitHub (Sep 3, 2021):
I am seeing this as well, but I'm seeing it when I reload the main window after closing the second window.
@ortrails commented on GitHub (Sep 16, 2021):
Some info that might help https://stackoverflow.com/questions/44258831/only-hide-the-window-when-closing-it-electron
You can do this by setting Closable=false on the BrowserWindowOptions.