1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-08 03:15:07 -05:00

stopping service log

This commit is contained in:
Kyle Spearrin
2019-07-11 21:48:44 -04:00
parent aedbfcce50
commit 05f876e61c
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ namespace Bit.EventsProcessor
{
return;
}
_logger.LogWarning("Stopping service.");
_cts.Cancel();
await Task.WhenAny(_executingTask, Task.Delay(-1, cancellationToken));
cancellationToken.ThrowIfCancellationRequested();