mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
* fix: AppHandle::restart() may not send RunEvent::Exit event * docs: add changelog: `AppHandle::restart()` may not send `RunEvent::Exit` event before exiting the application. * style: cargo fmt * avoid deadlock on main thread * do not let the restart be prevented leads to a deadlock currently * Apply suggestions from code review * lint * do not emit RunEvent on main thread * re-export RESTART_EXIT_CODE --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>