mirror of
https://github.com/bitwarden/server.git
synced 2025-03-31 17:45:44 +02:00
stopping service log
This commit is contained in:
parent
aedbfcce50
commit
05f876e61c
src
@ -46,6 +46,7 @@ namespace Bit.EventsProcessor
|
||||
{
|
||||
return;
|
||||
}
|
||||
_logger.LogWarning("Stopping service.");
|
||||
_cts.Cancel();
|
||||
await Task.WhenAny(_executingTask, Task.Delay(-1, cancellationToken));
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
@ -44,6 +44,7 @@ namespace Bit.Notifications
|
||||
{
|
||||
return;
|
||||
}
|
||||
_logger.LogWarning("Stopping service.");
|
||||
_cts.Cancel();
|
||||
await Task.WhenAny(_executingTask, Task.Delay(-1, cancellationToken));
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
Loading…
Reference in New Issue
Block a user