From 9980eae7a5ae14633c0db0664a3d2aeba271efcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 12 Jan 2021 10:54:40 +0100 Subject: [PATCH] Fix intermittent unit test crash at shutdown. Sometimes crashed on macos when the logger instance was reaped at runtime shutdown time. --- source/vibe/core/log.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/vibe/core/log.d b/source/vibe/core/log.d index f625416..fddf6ec 100644 --- a/source/vibe/core/log.d +++ b/source/vibe/core/log.d @@ -839,6 +839,7 @@ unittest logger.endLine(); } auto path = fstream.path; + destroy(logger); fstream.close(); import std.file;