mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Refactor vault (#6678)
* Use Blazor for the Vault code * Put elements in different file * Controller abstraction * Break into VaultElement
This commit is contained in:
@@ -1019,7 +1019,7 @@ namespace BTCPayServer.Controllers
|
||||
leases.Add(_EventAggregator.SubscribeAsync<Events.InvoiceEvent>(async o => await NotifySocket(webSocket, o.Invoice.Id, invoiceId)));
|
||||
while (true)
|
||||
{
|
||||
var message = await webSocket.ReceiveAndPingAsync(DummyBuffer);
|
||||
var message = await webSocket.ReceiveAndPingAsync(DummyBuffer, cancellationToken);
|
||||
if (message.MessageType == WebSocketMessageType.Close)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user