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
CleanupSockets();
#ifdef _WIN32
WSACleanup();
#endif
u32* cmd_buffer = Kernel::GetCommandBuffer();
cmd_buffer[1] = 0;
}
@ -908,9 +904,6 @@ SOC_U::SOC_U() {
SOC_U::~SOC_U() {
CleanupSockets();
#ifdef _WIN32
WSACleanup();
#endif
}
} // namespace SOC