-
-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When exitProcessOnClose is set to true, closing the app will result in +5 sec freeze before the app closes on Windows #1179
Comments
Something similar happens when creating a react application as outlined under the "Using any frontend library" section of the docs https://neutralino.js.org/docs/getting-started/using-frontend-libraries In my case, when I press the X button to exit, the application hangs for 10 seconds before closing. |
Same here, tested in 4.15.0 and same results. The workaround seems to be working fine. |
same, neutralino v4.14.1, client v3.12.0, workaround working fine but not the |
how to use the workaround please? |
Add the code shown above where you use the Neutralino object in your project. Usually it's in main.js |
I had created a duplicate ticket of this on the wrong (?) project: neutralino.jsj #102 The workaround that is described above is what was in my app by default after |
My project is experiencing the same, or a similar, issue, to the point of a "Not Responding" message in title bar. Even using the |
Describe the bug
When
exitProcessOnClose
is set to true, closing the app will result in +5 sec freeze before the app closes on WindowsTo Reproduce
exitProcessOnClose
to true inneutralino.config.json
.Expected behavior
The app should close immediately. However, we have a +5 sec delay before closing. Which is not what we want.
Specifications
Note: you can enter the
neu version
command to find these detailsAdditional context
The issue does not occur when using this workaround in main.js instead of relying on existProcessOnClose.
The text was updated successfully, but these errors were encountered: