public static void Initialize(string filename, bool append) { if (_current != null) { _current.Dispose(); } _current = new OutputLogQueue(filename, append); }
public void Dispose() { //Dispose the worker //_worker.Dispose(); if (_thread != null) { _thread.Abort(); _thread.Join(); _thread = null; } _current = null; }