diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IcqOscarJ/icq_infoupdate.cpp | 2 | ||||
-rw-r--r-- | protocols/IcqOscarJ/icq_proto.cpp | 3 | ||||
-rw-r--r-- | protocols/IcqOscarJ/icq_server.cpp | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/icq_infoupdate.cpp b/protocols/IcqOscarJ/icq_infoupdate.cpp index 5d0abbf47c..014df20e01 100644 --- a/protocols/IcqOscarJ/icq_infoupdate.cpp +++ b/protocols/IcqOscarJ/icq_infoupdate.cpp @@ -27,8 +27,8 @@ // Background thread for automatic update of user details
//
// -----------------------------------------------------------------------------
-#include "icqoscar.h"
+#include "icqoscar.h"
// Retrieve users' info
void CIcqProto::icq_InitInfoUpdate(void)
diff --git a/protocols/IcqOscarJ/icq_proto.cpp b/protocols/IcqOscarJ/icq_proto.cpp index 8e5d11100c..69b8ed8e61 100644 --- a/protocols/IcqOscarJ/icq_proto.cpp +++ b/protocols/IcqOscarJ/icq_proto.cpp @@ -359,6 +359,9 @@ int CIcqProto::OnModulesLoaded( WPARAM wParam, LPARAM lParam ) int CIcqProto::OnPreShutdown(WPARAM wParam,LPARAM lParam)
{
+ // signal info update thread to stop
+ icq_InfoUpdateCleanup();
+
// Make sure all connections are closed
CloseContactDirectConns(NULL);
return 0;
diff --git a/protocols/IcqOscarJ/icq_server.cpp b/protocols/IcqOscarJ/icq_server.cpp index 1226eae0c4..87b975d6d3 100644 --- a/protocols/IcqOscarJ/icq_server.cpp +++ b/protocols/IcqOscarJ/icq_server.cpp @@ -182,9 +182,6 @@ void __cdecl CIcqProto::ServerThread(serverthread_start_info *infoParam) SetCurrentStatus(ID_STATUS_OFFLINE);
}
- // signal info update thread to stop
- icq_InfoUpdateCleanup();
-
// signal keep-alive thread to stop
StopKeepAlive(&info);
|