mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 05:12:57 +02:00
refactor: Replace std RwLock with parking_lot
This commit is contained in:
parent
74572b3ff5
commit
b2644b4652
8 changed files with 54 additions and 72 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue