Autoclose updated

Commit amended for code style by Adam Honse <[email protected]>
This commit is contained in:
k1-801 authored and Adam Honse committed 2021-05-24 22:45:24 -05:00
1 parent abfb6ea22d
commit 65623d3978
2 files changed
+6 -1

No files matched your search

+5 -1
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()
{
+1
View File
@@ -24,6 +24,7 @@ typedef void (*NetServerCallback)(void *);
class NetworkClientInfo
{
public:
NetworkClientInfo();
~NetworkClientInfo();
SOCKET client_sock;