mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Better message for expect()
This commit is contained in:
@@ -195,7 +195,11 @@ impl pty::Recorder for Recorder {
|
|||||||
|
|
||||||
impl Drop for JoinHandle {
|
impl Drop for JoinHandle {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
self.0.take().unwrap().join().expect("Thread panicked");
|
self.0
|
||||||
|
.take()
|
||||||
|
.unwrap()
|
||||||
|
.join()
|
||||||
|
.expect("worker thread should finish cleanly");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user