Exemple #1
0
 /// <summary>
 /// Dispose pattern.
 /// </summary>
 /// <param name="isDisposing">Invoked from Dispose().</param>
 protected virtual void Dispose(bool isDisposing)
 {
     if (_queue != null)
     {
         _queue.Dispose();
         _queue = null;
     }
 }