OpenPHDGuiding / phd2

PHD2 Guiding
https://openphdguiding.org
BSD 3-Clause "New" or "Revised" License
245 stars 111 forks source link

ScopeASCOM::SetupDialog will unregister COM scope object even if it is already in-use #1106

Closed bwdev01 closed 9 months ago

bwdev01 commented 9 months ago

ScopeASCOM always un-registers the COM scope object even if the scope is already connected. Failure will occur after the Connect Equipment dialog is closed and the first reference is made to any scope property. Steps to reproduce:

  1. Open Connect Equipment dialog, connect to scope
  2. Click on ASCOM properties icon
  3. Close ASCOM properties dialog
  4. Close Connect Equipment dialog