diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-23 17:19:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-23 17:19:31 +0300 |
commit | c475a38756f0f7a0404b62e6c4f924ca9900b25a (patch) | |
tree | 43fdbb616c2f97d01580720faf28e9b615347045 /plugins | |
parent | 4f688b57e4f370bf37117cccb0c2fba115c9a698 (diff) |
no need to work after shutdown
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/UserInfoEx/src/mir_menuitems.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/UserInfoEx/src/mir_menuitems.cpp b/plugins/UserInfoEx/src/mir_menuitems.cpp index d5966d1574..8a3986996e 100644 --- a/plugins/UserInfoEx/src/mir_menuitems.cpp +++ b/plugins/UserInfoEx/src/mir_menuitems.cpp @@ -481,6 +481,9 @@ void RebuildSubGroup() **/
INT_PTR RebuildAccount(WPARAM, LPARAM lParam)
{
+ if (Miranda_IsTerminated())
+ return 0;
+
const BYTE mItems = 3; // menuitems to create
BYTE item = 0;
|