예제 #1
0
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     if (rtiAmbassador != null)
     {
         rtiAmbassador.Stop();
         rtiAmbassador = null;
     }
     if (channelManager != null)
     {
         channelManager.Close();
     }
     OnStopPrograms(null, null);
 }
예제 #2
0
        public void TearDown()
        {
            if (channelMngr != null)
            {
                channelMngr.Close();
            }

            // Log Debug level message
            if (log.IsDebugEnabled)
            {
                log.Debug("Test " + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType + " Ends");
            }
        }