/// <summary> /// Dispose pattern /// </summary> /// <param name="isDisposing">Invoked from the dispose method.</param> protected virtual void Dispose(bool isDisposing) { if (_reportQueue != null) { _reportQueue.Dispose(); _reportQueue = null; } }