From cea1c2b0ef2fa671c3073cf140e8553851a30e27 Mon Sep 17 00:00:00 2001 From: rachytski Date: Thu, 24 Nov 2011 16:30:14 +0400 Subject: [PATCH] stopping video timer, as the WindowHandle destroys itself. --- map/window_handle.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map/window_handle.cpp b/map/window_handle.cpp index 3676eaa0ea..909ec5dd03 100644 --- a/map/window_handle.cpp +++ b/map/window_handle.cpp @@ -32,7 +32,10 @@ void WindowHandle::checkedFrameFn() m_frameFn(); } -WindowHandle::~WindowHandle() {} +WindowHandle::~WindowHandle() +{ + m_videoTimer->stop(); +} bool WindowHandle::needRedraw() const {