fix build

This commit is contained in:
nicolas.dorier 2019-03-27 18:58:56 +09:00
parent 1a122726b7
commit 5d9da82d8e

View File

@ -35,7 +35,7 @@ namespace BTCPayServer.HostedServices
public async Task StopAsync(CancellationToken cancellationToken)
{
if (_Stop == null)
return Task.CompletedTask;
return;
_Stop.Cancel();
try
{