Browse Source

removes sleep from HistLog Drop

master
Jonathan Strong 6 years ago
parent
commit
1a93b7b76a
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/hist.rs

+ 0
- 1
src/hist.rs View File

@@ -142,7 +142,6 @@ impl Drop for HistLog {
//println!("in Drop, strong count is {}", Arc::strong_count(&arc));
if let Ok(thread) = Arc::try_unwrap(arc) {
let _ = self.tx.send(None);
thread::sleep(Duration::from_millis(2));
let _ = thread.join();
}
}


Loading…
Cancel
Save