summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-31 17:27:28 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-31 17:27:28 +0300
commite36e6e33366c9edc334c1401561f299f0d02f7c9 (patch)
tree10bb4cbe92002fb8ac92b25a7eface1a202363f3
parent20ffd35d11cef21fd4866f4b621e783a2d395bee (diff)
Import: fix for occasional crash
-rw-r--r--src/mir_app/src/clistgroups.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}
/////////////////////////////////////////////////////////////////////////////////////////