Remove speculation on cause of error
Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
@@ -1742,7 +1742,7 @@ impl<'scope, T> JoinInner<'scope, T> {
|
|||||||
if let Some(packet) = Arc::get_mut(&mut self.packet) {
|
if let Some(packet) = Arc::get_mut(&mut self.packet) {
|
||||||
packet.result.get_mut().take().unwrap()
|
packet.result.get_mut().take().unwrap()
|
||||||
} else {
|
} else {
|
||||||
Err(Box::new("thread terminated unexpectedly (e.g. due to OS intervention)"))
|
Err(Box::new("thread terminated unexpectedly"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user