Skip to content

Commit

Permalink
Fix clear_activation
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Martín Rico <fmrico@gmail.com>
  • Loading branch information
fmrico committed Mar 15, 2024
1 parent 576542e commit 6abf5e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ CascadeLifecycleNode::remove_activation(const std::string & node_name)
void
CascadeLifecycleNode::clear_activation()
{
for (const auto & activation : activations_) {
remove_activation(activation);
while (!activations_.empty()) {
remove_activation(*activations_.begin());
}
}

Expand Down

0 comments on commit 6abf5e3

Please sign in to comment.