From 8f7b23ad19ebaa6c4f23442a75ca64e7ca63848c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 27 May 2017 17:24:48 +0200 Subject: [PATCH] CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c0fe5d24027da1dd4f7a5f250b14b6e0bf915759 Author: Thilo Graf Date: 2017-05-27 (Sat, 27 May 2017) --- src/gui/components/cc_timer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/components/cc_timer.cpp b/src/gui/components/cc_timer.cpp index ab6523840..d6659aa38 100644 --- a/src/gui/components/cc_timer.cpp +++ b/src/gui/components/cc_timer.cpp @@ -143,6 +143,7 @@ bool CComponentsTimer::startTimer() bool CComponentsTimer::stopTimer() { tm_enable = false; + OnTimer.clear(); stopThread(); if(tm_thread == 0) return true;