Removed all instances of WSACleanup();.
This commit is contained in:
parent
aee8bf680c
commit
5d123144ff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user