remove early cleanup

This commit is contained in:
heliclei 2014-02-24 14:28:19 +08:00
parent 02230add0c
commit 4a2633933e
1 changed files with 1 additions and 2 deletions

View File

@ -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