Electron window does never confirm exit (Windows) #10596
Labels
bug
bugs found in the application
electron
issues related to the electron target
OS/Windows
issues related to the Windows OS
Bug Description:
#10379 introduces a check for the "main window" by comparing the current web content URL and the main html page:
theia/packages/core/src/electron-main/electron-main-application.ts
Line 490 in 17b419f
However, this check fails on windows, since
getURL()
returns a URI path with forward slashes, whileTHEIA_FRONTEND_HTML_PATH
uses backward slashes on windows.Steps to Reproduce:
application.confirmExit
preference toalways
Additional Information
The text was updated successfully, but these errors were encountered: