threadpool: Arc instead of Inner in Notifier (#702)

This commit is contained in:
Stjepan Glavina
2018-10-15 13:24:00 -07:00
committed by Carl Lerche
parent 65aea16ad1
commit 753336de8e
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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;