summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/avatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/avatar.cpp2
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();