mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
threadpool: Arc instead of Inner in Notifier (#702)
This commit is contained in:
committed by
Carl Lerche
parent
65aea16ad1
commit
753336de8e
@@ -222,7 +222,7 @@ impl Worker {
|
||||
|
||||
// Get the notifier.
|
||||
let notify = Arc::new(Notifier {
|
||||
inner: Arc::downgrade(&self.inner),
|
||||
inner: self.inner.clone(),
|
||||
});
|
||||
|
||||
let mut first = true;
|
||||
|
||||
Reference in New Issue
Block a user