1
0
Fork 0
forked from wry/wry

all: add HashMapExt

This commit is contained in:
Julian Orth 2024-05-08 15:13:21 +02:00
parent 4c0e6d9b51
commit 0d7a07ec40
29 changed files with 99 additions and 69 deletions

View file

@ -23,6 +23,7 @@ use {
clonecell::CloneCell,
copyhashmap::CopyHashMap,
errorfmt::ErrorFmt,
hash_map_ext::HashMapExt,
numcell::NumCell,
oserror::OsError,
xrd::xrd,
@ -122,7 +123,7 @@ impl PwCon {
}
pub fn kill(&self) {
for (_, obj) in self.objects.lock().drain() {
for obj in self.objects.lock().drain_values() {
obj.break_loops();
}
self.io.shutdown();