mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
parent
81d245f687
commit
a54bba6c86
5
.changes/app-handle-exit-cleanup.md
Normal file
5
.changes/app-handle-exit-cleanup.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Cleanup application on `AppHandle#exit`.
|
@ -257,6 +257,7 @@ impl<R: Runtime> AppHandle<R> {
|
||||
|
||||
/// Exits the app
|
||||
pub fn exit(&self, exit_code: i32) {
|
||||
self.cleanup_before_exit();
|
||||
std::process::exit(exit_code);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user