Add another delay to double-super-ensure the log buffers are flushed
This commit is contained in:
parent
1badfd9020
commit
cde495cd3a
@ -102,6 +102,7 @@ namespace PluralKit.Bot
|
|||||||
|
|
||||||
// Allow the log buffer to flush properly before exiting
|
// Allow the log buffer to flush properly before exiting
|
||||||
((Logger) logger).Dispose();
|
((Logger) logger).Dispose();
|
||||||
|
await Task.Delay(500);
|
||||||
shutdown.SetResult(null);
|
shutdown.SetResult(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user