mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 09:28:06 +00:00
2
thirdparty/raknet/Source/TCPInterface.cpp
vendored
2
thirdparty/raknet/Source/TCPInterface.cpp
vendored
@@ -211,8 +211,8 @@ SystemAddress TCPInterface::Connect(const char* host, unsigned short remotePort,
|
||||
int errorCode = RakNet::RakThread::Create(ConnectionAttemptLoop, s);
|
||||
if (errorCode!=0)
|
||||
{
|
||||
delete s;
|
||||
failedConnectionAttempts.Push(s->systemAddress);
|
||||
delete s;
|
||||
}
|
||||
return UNASSIGNED_SYSTEM_ADDRESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user