From 3d3680c9364f719e31ea8d30b1e5d2e88a9523f0 Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Tue, 5 Oct 2021 17:56:34 -0600 Subject: [PATCH] await gc before proceeding --- appmgr/src/notifications.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);