Skip to content

Commit

Permalink
remove double finishing (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloinigoblasco authored Sep 11, 2024
1 parent 8c0de46 commit 1fabc68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smacc2/include/smacc2/smacc_state_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class SmaccState : public sc::simple_state<MostDerived, Context, InnerInitial, h
void exit()
{
auto * derivedThis = static_cast<MostDerived *>(this);
this->getStateMachine().notifyOnStateExitting(derivedThis);
// this->getStateMachine().notifyOnStateExitting(derivedThis);
{
std::lock_guard<std::recursive_mutex> lock(this->getStateMachine().getMutex());
this->getStateMachine().notifyOnStateExitting(derivedThis);
Expand Down

0 comments on commit 1fabc68

Please sign in to comment.