diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-16 20:17:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-16 20:17:03 +0000 |
commit | 7a18e9f478a5f0baa7df3634fb72957965223148 (patch) | |
tree | 136ba379bc464f58fa5191a20d4ad41925878832 /protocols/JabberG/src/jabber_util.cpp | |
parent | 08904c1828b7fbf6af3f28f37cce9d252097e630 (diff) |
clutch for a crash on exit on slow machines
git-svn-id: http://svn.miranda-ng.org/main/trunk@8641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 027d9b0330..cebc1dcb5a 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -955,7 +955,8 @@ static VOID CALLBACK sttRebuildInfoFrameApcProc(void* param) void CJabberProto::RebuildInfoFrame()
{
- CallFunctionAsync(sttRebuildInfoFrameApcProc, this);
+ if (!g_bShutdown)
+ CallFunctionAsync(sttRebuildInfoFrameApcProc, this);
}
////////////////////////////////////////////////////////////////////////
|