diff --git a/appmgr/src/notifications.rs b/appmgr/src/notifications.rs index 0d5422041..8efb8e634 100644 --- a/appmgr/src/notifications.rs +++ b/appmgr/src/notifications.rs @@ -300,7 +300,7 @@ impl NotificationManager { if level == &NotificationLevel::Error { return true; } - self.gc(); + self.gc().await; let mut guard = self.cache.lock().await; let k = (package_id.clone(), level.clone(), title.clone()); let v = (*guard).get(&k);