1
0
forked from ROMEO/nexosim

Changes after review.

This commit is contained in:
Jaŭhien Piatlicki 2025-01-17 12:18:18 +01:00
parent 2e58288b04
commit fea1ccc1c4

View File

@ -123,9 +123,9 @@ fn main() -> Result<(), SimulationError> {
// Stop the simulation. // Stop the simulation.
scheduler.halt(); scheduler.halt();
Ok(match simulation_handle.join().unwrap() { match simulation_handle.join().unwrap() {
Err(ExecutionError::Halted) => Ok(()), Err(ExecutionError::Halted) => Ok(()),
Err(e) => Err(e), Err(e) => Err(e.into()),
_ => Ok(()), _ => Ok(()),
}?) }
} }