Autoclose updated

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
k1-801 2021-04-28 01:49:20 +04:00 committed by Adam Honse
parent abfb6ea22d
commit 65623d3978
2 changed files with 6 additions and 1 deletions

View file

@ -7,7 +7,6 @@
\*-----------------------------------------*/
#include "NetworkServer.h"
#include "ResourceManager.h"
#include "LogManager.h"
#include <cstring>
@ -34,6 +33,11 @@ const char yes = 1;
using namespace std::chrono_literals;
NetworkClientInfo::NetworkClientInfo()
{
client_sock = INVALID_SOCKET;
client_listen_thread = nullptr;
}
NetworkClientInfo::~NetworkClientInfo()
{

View file

@ -24,6 +24,7 @@ typedef void (*NetServerCallback)(void *);
class NetworkClientInfo
{
public:
NetworkClientInfo();
~NetworkClientInfo();
SOCKET client_sock;