protected override void OnFormClosed(FormClosedEventArgs e) { if (rtiAmbassador != null) { rtiAmbassador.Stop(); rtiAmbassador = null; } if (channelManager != null) { channelManager.Close(); } OnStopPrograms(null, null); }
public void TearDown() { if (channelMngr != null) { channelMngr.Close(); } // Log Debug level message if (log.IsDebugEnabled) { log.Debug("Test " + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType + " Ends"); } }