Fix intermittent unit test crash at shutdown.

Sometimes crashed on macos when the logger instance was reaped at runtime shutdown time.
This commit is contained in:
Sönke Ludwig 2021-01-12 10:54:40 +01:00
parent 3fbc8bb397
commit 9980eae7a5

View file

@ -839,6 +839,7 @@ unittest
logger.endLine(); logger.endLine();
} }
auto path = fstream.path; auto path = fstream.path;
destroy(logger);
fstream.close(); fstream.close();
import std.file; import std.file;