From e36e6e33366c9edc334c1401561f299f0d02f7c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 Mar 2024 17:27:28 +0300 Subject: Import: fix for occasional crash --- src/mir_app/src/clistgroups.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp index 483cf7bfcb..f4cb7f43ac 100644 --- a/src/mir_app/src/clistgroups.cpp +++ b/src/mir_app/src/clistgroups.cpp @@ -91,7 +91,8 @@ void CGroupInternal::save() { Clist_BroadcastAsync(INTM_GROUPSCHANGED, 0, LPARAM(this)); - g_pTimer->Start(1000); + if (g_pTimer) + g_pTimer->Start(1000); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3