mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Editing splashScreen.destroy() to splashScreen.hide() causes unstable behavior! #832
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 @semihkiroglu on GitHub (Oct 19, 2022).
Change from destroy to hide at line 261 in main.js under ElectronNET.Host causes Electron.WindowManager.IsQuitOnWindowAllClosed to not work properly.
When the issue cited for this change was examined, it was stated that the problem was fixed for Electron 14 and above. Since ElectronNET works with Electron version 19, this regulation may not apply.
When I reverted this change and used destroy in my project, my window handlers started working fine. When I use hide, even though my main window is Electron.WindowManager.IsQuitOnWindowAllClosed = true, the processes did not terminate because the splashscreen was hide.
Maybe the necessity of this correction can be examined from different perspectives and taken back?
@semihkiroglu commented on GitHub (Oct 19, 2022):
Reopened #727 with labeled as bug.