Unverified 提交 b8cf6748 authored 作者: satoren's avatar satoren

fix: panic message on cargo test

上级 8c084458
...@@ -138,8 +138,9 @@ impl WorkerManager { ...@@ -138,8 +138,9 @@ impl WorkerManager {
move || { move || {
let _ = exit_sender.send(()); let _ = exit_sender.send(());
let id = id.lock().take().unwrap(); if let Some(id) = id.lock().take() {
workers.lock().remove(&id); workers.lock().remove(&id);
}
} }
}, },
) )
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论