Skip to content

Commit b60f8be

Browse files
committed
minimator: Fix assertion failed on abort
1 parent 19cd6cc commit b60f8be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/minimator/src/minimator.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ class MinimatorSimulator : public cloe::Simulator {
409409
*/
410410
void abort() final {
411411
// We don't have any I/O here, so we override the default implementation.
412+
// We can safely call stop() even if we are aborting simulation.
413+
operational_ = false;
412414
}
413415

414416
/**

0 commit comments

Comments
 (0)