Explorar o código

perf: remove extranous call in `StateManager::get` (#8272)

Amr Bashir hai 1 ano
pai
achega
b8756bc34e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      core/tauri/src/state.rs

+ 0 - 1
core/tauri/src/state.rs

@@ -71,7 +71,6 @@ impl StateManager {
 
   /// Gets the state associated with the specified type.
   pub fn get<T: Send + Sync + 'static>(&self) -> State<'_, T> {
-    self.0.get::<T>();
     State(
       self
         .0