From 28b54d2b37e51e2af83117137c09a1c565528d66 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 12 Jan 2024 08:26:51 +0100 Subject: [PATCH] Fix timer crash --- src/core/timer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/timer.cpp b/src/core/timer.cpp index 4c74856..5ebe261 100644 --- a/src/core/timer.cpp +++ b/src/core/timer.cpp @@ -13,6 +13,8 @@ Timer::Timer(Widget* owner) : OwnerObj(owner) Timer::~Timer() { + Stop(); + if (PrevTimerObj) PrevTimerObj->NextTimerObj = NextTimerObj; if (NextTimerObj)