You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in our builds, some logs seem to be dropped while the application, and consequently the LoggingSystem, is exiting.
To fix that:
in LoggerThread.AddWork: add logging action only when _stop flag is false and throw an exception when it is true
This should be fine with our current use as we never had a failure on the Debug.Assert(!_stop);
in LoggerThread.Stop: at the end check whether the queue is empty or not. If some logging actions are still pending, use current thread to perform them
The text was updated successfully, but these errors were encountered:
As seen in our builds, some logs seem to be dropped while the application, and consequently the
LoggingSystem
, is exiting.To fix that:
LoggerThread.AddWork
: add logging action only when_stop
flag is false and throw an exception when it is trueDebug.Assert(!_stop);
LoggerThread.Stop
: at the end check whether the queue is empty or not. If some logging actions are still pending, use current thread to perform themThe text was updated successfully, but these errors were encountered: