Skip to content

Commit

Permalink
DUNE/Tasks/Task: Adding debug to indicate pending request in active s…
Browse files Browse the repository at this point in the history
…tate change.
  • Loading branch information
paulosousadias committed Nov 14, 2023
1 parent a610ae7 commit 00f30f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/DUNE/Tasks/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,10 @@ namespace DUNE

m_entity->succeedActivation();
if (m_entity->hasPendingDeactivation())
{
spew("has pending deactivation");
requestDeactivation();
}
}

void
Expand Down Expand Up @@ -340,7 +343,10 @@ namespace DUNE

m_entity->succeedDeactivation();
if (m_entity->hasPendingActivation())
{
spew("has pending activation");
requestActivation();
}
}

void
Expand Down

0 comments on commit 00f30f3

Please sign in to comment.