Removed all instances of WSACleanup();.

This commit is contained in:
Hexagon12 2017-11-04 15:03:04 +02:00 committed by GitHub
parent aee8bf680c
commit 5d123144ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -794,10 +794,6 @@ static void ShutdownSockets(Interface* self) {
// TODO(Subv): Implement // TODO(Subv): Implement
CleanupSockets(); CleanupSockets();
#ifdef _WIN32
WSACleanup();
#endif
u32* cmd_buffer = Kernel::GetCommandBuffer(); u32* cmd_buffer = Kernel::GetCommandBuffer();
cmd_buffer[1] = 0; cmd_buffer[1] = 0;
} }
@ -908,9 +904,6 @@ SOC_U::SOC_U() {
SOC_U::~SOC_U() { SOC_U::~SOC_U() {
CleanupSockets(); CleanupSockets();
#ifdef _WIN32
WSACleanup();
#endif
} }
} // namespace SOC } // namespace SOC