From b60f8bedb25010fa2f2e60c8c1d98f77dcc9d6bb Mon Sep 17 00:00:00 2001 From: Benjamin Morgan Date: Fri, 10 Mar 2023 10:05:19 +0100 Subject: [PATCH] minimator: Fix assertion failed on abort --- plugins/minimator/src/minimator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/minimator/src/minimator.cpp b/plugins/minimator/src/minimator.cpp index 4a419ecba..225277f3f 100644 --- a/plugins/minimator/src/minimator.cpp +++ b/plugins/minimator/src/minimator.cpp @@ -409,6 +409,8 @@ class MinimatorSimulator : public cloe::Simulator { */ void abort() final { // We don't have any I/O here, so we override the default implementation. + // We can safely call stop() even if we are aborting simulation. + operational_ = false; } /**