From 1fabc680d0f752b599029099592f5762aab49b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20I=C3=B1igo=20Blasco?= Date: Wed, 11 Sep 2024 17:34:30 +0200 Subject: [PATCH] remove double finishing (#558) --- smacc2/include/smacc2/smacc_state_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smacc2/include/smacc2/smacc_state_base.hpp b/smacc2/include/smacc2/smacc_state_base.hpp index 33f13c1a1..ed4fffd01 100644 --- a/smacc2/include/smacc2/smacc_state_base.hpp +++ b/smacc2/include/smacc2/smacc_state_base.hpp @@ -123,7 +123,7 @@ class SmaccState : public sc::simple_state(this); - this->getStateMachine().notifyOnStateExitting(derivedThis); + // this->getStateMachine().notifyOnStateExitting(derivedThis); { std::lock_guard lock(this->getStateMachine().getMutex()); this->getStateMachine().notifyOnStateExitting(derivedThis);