diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_network.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_network.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_network.cpp b/protocols/SkypeWeb/src/skype_network.cpp index c8c42ea0c5..f6f94b91e1 100644 --- a/protocols/SkypeWeb/src/skype_network.cpp +++ b/protocols/SkypeWeb/src/skype_network.cpp @@ -14,10 +14,11 @@ void CSkypeProto::InitNetwork() void CSkypeProto::UnInitNetwork()
{
- if (m_pollingConnection)
- CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_pollingConnection, 0);
- if (m_TrouterConnection)
- CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_TrouterConnection, 0);
-
+ ShutdownConnections();
Netlib_CloseHandle(m_hNetlibUser); m_hNetlibUser = NULL;
+}
+
+void CSkypeProto::ShutdownConnections()
+{
+ Netlib_Shutdown(m_hNetlibUser);
}
\ No newline at end of file |