mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
await gc before proceeding
This commit is contained in:
committed by
Aiden McClelland
parent
d58a950762
commit
3d3680c936
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user