mirror of https://github.com/quasar/Quasar.git
Small fix
This commit is contained in:
parent
473ec94532
commit
cc8bfddaf3
|
@ -132,6 +132,7 @@ namespace xClient.Core.Commands
|
||||||
if (!_canceledDownloads.ContainsKey(command.ID))
|
if (!_canceledDownloads.ContainsKey(command.ID))
|
||||||
{
|
{
|
||||||
_canceledDownloads.Add(command.ID, "canceled");
|
_canceledDownloads.Add(command.ID, "canceled");
|
||||||
|
new Packets.ClientPackets.DoDownloadFileResponse(command.ID, "canceled", new byte[0], -1, -1, "Canceled").Execute(client);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ namespace xServer.Forms
|
||||||
|
|
||||||
if (CanceledUploads.ContainsKey(id))
|
if (CanceledUploads.ContainsKey(id))
|
||||||
{
|
{
|
||||||
|
UpdateTransferStatus(index, "Canceled", 0);
|
||||||
_limitThreads.Release();
|
_limitThreads.Release();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue