Add another delay to double-super-ensure the log buffers are flushed

This commit is contained in:
Ske 2020-05-06 23:43:37 +02:00
parent 1badfd9020
commit cde495cd3a

View File

@ -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);
} }