This commit is contained in:
nicolas.dorier 2018-02-18 20:37:42 +09:00
parent fe0c21ba08
commit 752133b01c

View File

@ -281,7 +281,9 @@ namespace BTCPayServer.HostedServices
{
lock (_SendingRequestsByInvoiceId)
{
_SendingRequestsByInvoiceId.Remove(id);
_SendingRequestsByInvoiceId.TryGetValue(id, out var executing2);
if(executing2 == sending)
_SendingRequestsByInvoiceId.Remove(id);
}
}, TaskScheduler.Default);
}