-
Notifications
You must be signed in to change notification settings - Fork 61
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
0.28.1 errors on process exit in treekill #211
Comments
Damn! I came here to report the same issue and was pleasantly surprised to see someone literally creating a ticket for it minutes ago. Anyway, I can confirm, I'm running into the same issue on Windows. |
recent version breaks the `app.quit()` process electron-vite/vite-plugin-electron#211
@ashokgelal thanks for fixing the error message. The platform is windows 11 ERROR: The process "4316" not found. I assume it's from process.once('exit', () => {
startup.exit()
// When the process exits, `tree-kill` does not have enough time to complete execution, so `electronApp` needs to be killed immediately.
- process.electronApp.kill()
+ // process.electronApp.kill()
+ treeKillSync(process.electronApp.pid!);
}) To me, it seems that the |
I use Mac OS for work, and if there are still issues on Windows 11 with |
When exiting the app via
app.quit();
call the application errors out with following messagedowngrading to version
0.28.0
fixes the aforementioned issuethe specific line mentioned in the log is this one
The text was updated successfully, but these errors were encountered: