Example #1
0
 /// <summary>
 ///
 /// </summary>
 private void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         if (disposing)
         {
             try
             {
                 _adaptor.Detach();
                 ((IDisposable)_adaptor).Dispose();
             }
             catch (Exception p)
             {
                 logger.Error(p);
             }
         }
     }
     _disposed = true;
 }