mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add another delay to double-super-ensure the log buffers are flushed
This commit is contained in:
parent
1badfd9020
commit
cde495cd3a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue