From cde495cd3a2b5c78fd49b44dedb1249ae3833422 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 6 May 2020 23:43:37 +0200 Subject: [PATCH] Add another delay to double-super-ensure the log buffers are flushed --- PluralKit.Bot/Init.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Bot/Init.cs b/PluralKit.Bot/Init.cs index 66bfa11e..a9f9363b 100644 --- a/PluralKit.Bot/Init.cs +++ b/PluralKit.Bot/Init.cs @@ -102,6 +102,7 @@ namespace PluralKit.Bot // Allow the log buffer to flush properly before exiting ((Logger) logger).Dispose(); + await Task.Delay(500); shutdown.SetResult(null); }