private void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { // cleanup managed resources (none to cleanup for now) } // Clean up the tracelogger and util objects if (m_mount != null) { SharedResources.DisconnectMount(); m_mount = null; m_camera = null; } SharedResources.PutTraceLogger(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; transform.Dispose(); transform = null; disposed = true; }
public void Dispose() { utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; wisedome.Dispose(); wisedome = null; }
public void Dispose() { // Clean up the tracelogger and util objects trace = false; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; }
public void Dispose() { tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; }
public void Dispose() { util.Dispose(); util = null; astroUtils.Dispose(); astroUtils = null; wisetele.Dispose(); }
public void Dispose() { // Clean up the tracelogger and util objects //tl.Enabled = false; //tl.Dispose(); //tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; }
public void Dispose() { // Clean up the tracelogger and util objects tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; serialPort.Close(); }
public void Dispose() { // Clean up the logger and util objects Log.Information("Terminating GotoStar driver"); Log.CloseAndFlush(); utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; gotoStar?.ClosePort(); gotoStar?.Dispose(); }
public void Dispose() { // Clean up the tracelogger and util objects tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; fMounter.Disconnect(); }
public void Dispose() { // Clean up the trace logger and util objects Switches.Save(); if (_serial != null) { _serial.Connected = false; } tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; }
public void Dispose() { if (MyDriverType == 0) { MySSFocuser.Dispose(); } else { // Clean up the tracelogger and util objects tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_Util != null) { _Util.Dispose(); _Util = null; } if (_Transform != null) { _Transform.Dispose(); _Transform = null; } if (_AstroUtils != null) { _AstroUtils.Dispose(); _AstroUtils = null; } } }
public void Dispose() { // Clean up the tracelogger and util objects tl.Enabled = false; tl.Dispose(); tl = null; utilities.Dispose(); utilities = null; astroUtilities.Dispose(); astroUtilities = null; //**** added if (serialPort == null) { return; } serialPort.Connected = false; serialPort.Dispose(); serialPort = null; //**** end addt }
public void Dispose() { novas31.Dispose(); astroutils.Dispose(); ascomutils.Dispose(); }