Skip to content

Commit

Permalink
Fix timer crash
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jan 12, 2024
1 parent fac2262 commit 28b54d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Timer::Timer(Widget* owner) : OwnerObj(owner)

Timer::~Timer()
{
Stop();

if (PrevTimerObj)
PrevTimerObj->NextTimerObj = NextTimerObj;
if (NextTimerObj)
Expand Down

0 comments on commit 28b54d2

Please sign in to comment.