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:
parent
3fbc8bb397
commit
9980eae7a5
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue