Skip to content

Commit

Permalink
engine: fix pointer usage after deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Dec 17, 2023
1 parent cb9de72 commit d00a493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/chaserrunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ void ChaserRunner::slotChaserChanged()
foreach(ChaserRunnerStep *step, delList)
{
step->m_function->stop(functionParent());
delete step;
m_runnerSteps.removeAll(step);
delete step;
}
}

Expand Down

0 comments on commit d00a493

Please sign in to comment.