コード例 #1
0
 public void Dispose()
 {
     if (_disruptor != null)
     {
         _disruptor.Dispose();
         _disruptor = null;
     }
 }
コード例 #2
0
 public void Dispose()
 {
     try
     {
         if (_disruptor != null)
         {
             _disruptor.Dispose();
         }
     }
     catch (Exception ex)
     {
         LogTo.Error(ex.ToString());
     }
     finally
     {
         _disruptor = null;
     }
 }