We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d245f commit a54bba6Copy full SHA for a54bba6
.changes/app-handle-exit-cleanup.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch
3
4
+
5
+Cleanup application on `AppHandle#exit`.
core/tauri/src/app.rs
@@ -257,6 +257,7 @@ impl<R: Runtime> AppHandle<R> {
257
258
/// Exits the app
259
pub fn exit(&self, exit_code: i32) {
260
+ self.cleanup_before_exit();
261
std::process::exit(exit_code);
262
}
263
0 commit comments