public override void Stop() { logger.Log("AppDigitalMedia clean up"); if (worker != null) { worker.Abort(); } if (datastream != null) { datastream.Close(); } if (serviceHost != null) { serviceHost.Close(); } if (appServer != null) { appServer.Dispose(); } if (SignalR != null) { SignalR.Dispose(); } }
public override void Stop() { if (worker != null) { worker.Abort(); } }
public override void Stop() { logger.Log("Stop() at {0}", ToString()); if (workThread != null) { workThread.Abort(); } }
/// <summary> /// Stops the main thread and shuts down the web service /// </summary> public override void Stop() { logger.Log("MentalHouse clean up"); if (worker != null) { worker.Abort(); } }
public override void Stop() { if (worker != null) { worker.Abort(); } // throw new Exception("Stopping not implemented for " + this); }
public override void Stop() { logger.Log("AppDoorjamb clean up"); if (worker != null) { worker.Abort(); } //datastream.Close(); }
public override void Stop() { if (worker != null) { worker.Abort(); } logger.Log("Kinect Sensor Stopped."); StopKinect(); }
public override void Stop() { logger.Log("Stop() at {0}", ToString()); if (connectionChecker != null && connectionChecker.IsAlive()) { connectionChecker.Abort(); connectionChecker.Join(); } serialPort.Close(); Finished(); }
public override void Stop() { logger.Log("Stop() at {0}", ToString()); crestronConnection.Disconnect(); if (workThread != null) { workThread.Abort(); } imageServer.Dispose(); }
public override void Stop() { logger.Log("AppAirConditionCtrl clean up"); if (worker != null) { worker.Abort(); } if (datastream != null) { datastream.Close(); } }
public override void Stop() { if (worker != null) { worker.Abort(); } if (imageServer != null) { imageServer.Dispose(); } }
public override void Stop() { logger.Log("AppPowerMeter clean up"); if (worker != null) { worker.Abort(); } if (datastream != null) { datastream.Close(); } }
public override void Stop() { logger.Log("Stop() at {0}", ToString()); if (workThread != null) { workThread.Abort(); } if (imageServer != null) { imageServer.Dispose(); } }
public override void Stop() { if (worker1 != null) { worker1.Abort(); } if (worker2 != null) { worker2.Abort(); } if (_mjpeg != null) { _mjpeg.StopStream(); } imageServer.Dispose(); }
public override void Stop() { if (serialPortOpen) { serPort.Close(); } logger.Log("Stop() at {0}", ToString()); if (workThread != null) { workThread.Abort(); } if (imageServer != null) { imageServer.Dispose(); } }