From d3cb19278d60ac6f7963379254546cdca36a90e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jan 2017 01:22:55 +0300 Subject: separate handle types for HNETLIBCONN & HNETLIBBIND --- protocols/Steam/src/steam_events.cpp | 7 ------- protocols/Steam/src/steam_proto.cpp | 3 --- protocols/Steam/src/steam_proto.h | 1 - 3 files changed, 11 deletions(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp index 43a906b56e..db3b5a054c 100644 --- a/protocols/Steam/src/steam_events.cpp +++ b/protocols/Steam/src/steam_events.cpp @@ -17,13 +17,6 @@ int CSteamProto::OnModulesLoaded(WPARAM, LPARAM) return 0; } -int CSteamProto::OnPreShutdown(WPARAM, LPARAM) -{ - Netlib_Shutdown(this->m_hNetlibUser); - this->m_hNetlibUser = NULL; - return 0; -} - INT_PTR CSteamProto::OnAccountManagerInit(WPARAM, LPARAM lParam) { return (INT_PTR)(CSteamOptionsMain::CreateAccountManagerPage(this, (HWND)lParam))->GetHwnd(); diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index fb6d7e31f3..e9fc5ba35c 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -396,9 +396,6 @@ int __cdecl CSteamProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM case EV_PROTO_ONLOAD: return this->OnModulesLoaded(wParam, lParam); - case EV_PROTO_ONEXIT: - return this->OnPreShutdown(wParam, lParam); - /*case EV_PROTO_ONOPTIONS: return this->OnOptionsInit(wParam, lParam);*/ diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index 812f88051e..b9d4ca8556 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -212,7 +212,6 @@ protected: // events int OnModulesLoaded(WPARAM, LPARAM); - int OnPreShutdown(WPARAM, LPARAM); int __cdecl OnIdleChanged(WPARAM, LPARAM); int __cdecl OnOptionsInit(WPARAM wParam, LPARAM lParam); INT_PTR __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3