More bug fixes and changes for DownloadManager

This commit is contained in:
EntenKoeniq
2022-04-06 05:54:03 +02:00
parent a6d2acac79
commit 1e1b22462d
7 changed files with 95 additions and 59 deletions

View File

@ -271,10 +271,7 @@ namespace CoopServer
{
long nethandle = message.SenderConnection.RemoteUniqueIdentifier;
lock (DownloadManager.ClientsToDelete)
{
DownloadManager.ClientsToDelete.Add(nethandle);
}
DownloadManager.AddClientToRemove(nethandle);
SendPlayerDisconnectPacket(nethandle);
}