refactor: Replace std RwLock with parking_lot

This commit is contained in:
Jade Ellis
2025-07-19 21:03:17 +01:00
parent 30a8c06fd9
commit a1d616e3e3
8 changed files with 54 additions and 72 deletions
-1
View File
@@ -58,7 +58,6 @@ impl Manager {
let services: Vec<Arc<dyn Service>> = self
.service
.read()
.expect("locked for reading")
.values()
.map(|val| val.0.upgrade())
.map(|arc| arc.expect("services available for manager startup"))