fix(single-instance): release the lock on cleanup_before_exit instead of RunEvent::Exit (#3482)

* add configurable destroy_on_exit to single instance plugin

* add change file

* document destroy_on_exit

* move the destroy to rely on the Resource close

* add integration test

* fix android/ios

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
JGuest121andLucas Nogueira authored and GitHub committed 2026-10-16 16:06:24 -03:00
1 parent 8dc878fe34
commit aedd883cf3
8 files changed
+316 -68

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ features = [
"Win32_Graphics_Gdi",
]
[target."cfg(target_os = \"windows\")".dev-dependencies.windows-sys]
version = "0.61"
features = ["Win32_UI_WindowsAndMessaging"]
[target."cfg(target_os = \"linux\")".dependencies]
zbus = { workspace = true }