before stop tracing, write remaining trace messages

I think that when you stop tracing, it should be better to first write all remaining trace messages to the log file (if the logwriter exists). From what I've seen from testing, this doesn't happen ...

Id #2 | Release: Version 1.1 | Updated: Feb 16 at 9:58 AM by PeterHuberSg | Created: Dec 15, 2016 at 8:45 PM by rekna

possible race condition ?

Is it possible that between check logFileWrite==null en lock(logFileWriter), logFileWriter can become null ? void writeMessages(TraceMessage[] TraceMessages) { if (logFileWriter==null) return;...

Id #1 | Release: Version 1.1 | Updated: Feb 16 at 10:02 AM by PeterHuberSg | Created: Dec 15, 2016 at 8:37 PM by rekna

  • 1-2 of 2 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items