Revert "feat(core): expose runtime_handle on AppHandle (#6727)"

This reverts commit 276e4a3fdb.
This commit is contained in:
Lucas Fernandes Nogueira
2023-04-17 09:49:09 -07:00
committed by Lucas Nogueira
parent cebd75261a
commit 8e46695b7e
4 changed files with 1 additions and 16 deletions

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added the `runtime_handle` method on `AppHandle`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Re-export the `tauri_runtime` crate as `tauri::runtime`.

View File

@@ -275,11 +275,6 @@ impl<R: Runtime> AppHandle<R> {
pub(crate) fn create_proxy(&self) -> R::EventLoopProxy {
self.runtime_handle.create_proxy()
}
/// Returns the handle to the application runtime.
pub fn runtime_handle(&self) -> &R::Handle {
&self.runtime_handle
}
}
/// APIs specific to the wry runtime.

View File

@@ -199,7 +199,7 @@ mod manager;
mod pattern;
pub mod plugin;
pub mod window;
pub use tauri_runtime as runtime;
use tauri_runtime as runtime;
#[cfg(target_os = "ios")]
mod ios;
#[cfg(target_os = "android")]