Skip to content

Commit

Permalink
remove double finishing
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloinigoblasco committed Sep 11, 2024
1 parent a88ed93 commit 052b09d
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 052b09d

Please sign in to comment.