Skip to content
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

Fixed system tray icon not disappearing on exit #960

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PianoMastR64
Copy link

Replaced std::process::exit(0) with tauri::AppHandle::exit() across multiple files to ensure proper cleanup, including removal of the system tray icon upon exit

… fix system tray icon not disappearing on exit
@PianoMastR64
Copy link
Author

I tested each exit(), and it seems to have fixed the problem without creating any new ones. I tested on Windows 11.

One thing to note is that twice, the Windows antivirus deleted the .exe and called it a virus. I wasn't really able to replicate this. I don't think it has anything to do with my changes, but rather a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant