diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-04 13:32:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-04 13:32:26 +0000 |
commit | 8b8283c62cc5b8fce419fd7e0fe38c33f4457e17 (patch) | |
tree | 13754815e57a1d7a119078624077ee6ad8b07caa /protocols/MSN/src/msn_proto.cpp | |
parent | d3087e6da133a1c0b7e6e63f4e6f54c027b9f58c (diff) |
fix for MSN avatars thread hangup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_proto.cpp')
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 7cd17188fd..195f7a4303 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -212,7 +212,8 @@ int CMsnProto::OnModulesLoaded(WPARAM, LPARAM) int CMsnProto::OnPreShutdown(WPARAM, LPARAM)
{
- SetEvent(hevAvatarQueue);
+ g_bTerminated = true;
+ ReleaseSemaphore(hevAvatarQueue, 1, NULL);
Popup_UnregisterClass(hPopupError);
Popup_UnregisterClass(hPopupHotmail);
|