mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-13 11:35:51 +01:00
fix bug
This commit is contained in:
parent
fe0c21ba08
commit
752133b01c
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue