Skip to content

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