Small fix

This commit is contained in:
MaxXor 2015-09-07 14:46:12 +02:00
parent 473ec94532
commit cc8bfddaf3
2 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,7 @@ namespace xClient.Core.Commands
if (!_canceledDownloads.ContainsKey(command.ID))
{
_canceledDownloads.Add(command.ID, "canceled");
new Packets.ClientPackets.DoDownloadFileResponse(command.ID, "canceled", new byte[0], -1, -1, "Canceled").Execute(client);
}
}

View File

@ -154,6 +154,7 @@ namespace xServer.Forms
if (CanceledUploads.ContainsKey(id))
{
UpdateTransferStatus(index, "Canceled", 0);
_limitThreads.Release();
return;
}