mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Revert "Swift: auto-flush logs at exit"
This reverts commit 0d9dcb161f.
This turns out to introduce a subtle bug related to destruction order
between `Log::instance()` and the `Logger` instances.
This commit is contained in:
@@ -110,8 +110,6 @@ class Log {
|
||||
Level level;
|
||||
};
|
||||
|
||||
~Log() { flushImpl(); }
|
||||
|
||||
// Flush logs to the designated outputs
|
||||
static void flush() { instance().flushImpl(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user