From 21f699e48398d96a3dd93099e2e84edf311a26d1 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Tue, 1 Mar 2022 01:44:24 +0100 Subject: [PATCH] fix(plugin-pop-shell): Add missing awaits on `call_method` --- plugins/src/pop_shell/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/src/pop_shell/mod.rs b/plugins/src/pop_shell/mod.rs index 524d760..c342fe0 100644 --- a/plugins/src/pop_shell/mod.rs +++ b/plugins/src/pop_shell/mod.rs @@ -97,14 +97,14 @@ impl App { async fn activate(&mut self, id: u32) { if let Some(id) = self.entries.get(id as usize) { let entity = id.entity; - let _ = self.call_method("WindowFocus", &(entity,)); + let _ = self.call_method("WindowFocus", &(entity,)).await; } } async fn quit(&mut self, id: u32) { if let Some(id) = self.entries.get(id as usize) { let entity = id.entity; - let _ = self.call_method("WindowQuit", &(entity,)); + let _ = self.call_method("WindowQuit", &(entity,)).await; } }