Преглед изворни кода

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

Amr Bashir пре 1 година
родитељ
комит
b8756bc34e
1 измењених фајлова са 0 додато и 1 уклоњено
  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