From c427ac965987265c62761de2f822fd90be606e1a Mon Sep 17 00:00:00 2001 From: Constantin Shalnev Date: Fri, 20 Mar 2015 13:45:58 +0300 Subject: [PATCH] fix: restore timer functor on window handle destruction --- map/window_handle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/map/window_handle.cpp b/map/window_handle.cpp index 7650d91d91..92a65c71ed 100644 --- a/map/window_handle.cpp +++ b/map/window_handle.cpp @@ -41,6 +41,7 @@ void WindowHandle::checkedFrameFn() WindowHandle::~WindowHandle() { m_videoTimer->stop(); + m_videoTimer->setFrameFn(m_frameFn); } bool WindowHandle::needRedraw() const