diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp index 14c2b58955..d0f72df6cd 100644 --- a/protocols/Gadu-Gadu/src/avatar.cpp +++ b/protocols/Gadu-Gadu/src/avatar.cpp @@ -298,8 +298,8 @@ void __cdecl GaduProto::avatarrequestthread(void*) void GaduProto::initavatarrequestthread()
{
DWORD exitCode = 0;
-
GetExitCodeThread(pth_avatar.hThread, &exitCode);
+
if (exitCode != STILL_ACTIVE) {
avatar_requests.destroy();
avatar_transfers.destroy();
|