diff options
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;
|