コード例 #1
0
 private void InternalClose()
 {
     try
     {
         MonitoringSocket.Disconnect(Endpoint);
     }
     catch (Exception)
     {}
     finally
     {
         IsRunning = false;
         m_isStoppedEvent.Set();
     }
 }
コード例 #2
0
 private void InternalClose()
 {
     m_isStoppedEvent.Set();
     IsRunning = false;
     MonitoringSocket.Disconnect(Endpoint);
 }