feat(tauri): export struct tauri::ExitRequestApi (#12701)

This commit is contained in:
Sean Wang 2025-02-15 23:21:06 +08:00 committed by GitHub
parent ee95c1b1ed
commit 7d8252679d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
tauri: 'minor:feat'
---
Export `struct tauri::ExitRequestApi`.

View File

@ -213,8 +213,8 @@ pub use self::event::{Event, EventId, EventTarget};
use self::manager::EmitPayload;
pub use {
self::app::{
App, AppHandle, AssetResolver, Builder, CloseRequestApi, RunEvent, UriSchemeContext,
UriSchemeResponder, WebviewEvent, WindowEvent,
App, AppHandle, AssetResolver, Builder, CloseRequestApi, ExitRequestApi, RunEvent,
UriSchemeContext, UriSchemeResponder, WebviewEvent, WindowEvent,
},
self::manager::Asset,
self::runtime::{