mirror of https://github.com/axmolengine/axmol.git
remove early cleanup
This commit is contained in:
parent
02230add0c
commit
4a2633933e
|
@ -793,8 +793,7 @@ void Console::loop()
|
|||
for(const auto &fd: _fds )
|
||||
{
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
||||
closesocket(fd)
|
||||
WSACleanup();
|
||||
closesocket(fd);
|
||||
#else
|
||||
close(fd);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue