modified: NINA/ViewModel/ImagingVM.cs

Merged
#166 · Created  · Last updated

Description

What is the purpose of this Pull Request?

In Imaging, while Liveview is active, starting a capture enters the applciation in an error state that can lead to a freeze. Added a cancel request for the liveview if active and the capture button was pressed.

It would be better to prevent this upfront by timely disabling the capture button when liveview is activated, however this fix can still serve as a second line of defense.

It still notifies the user of an error, which is preferable to an app freeze, anyways.

How were the changes tested?

Using a ZWO 120MM, native driver

Are there relevant Issues in the tracker that this PR will fix?

No

Screenshots

Notes

Without the change the app might freeze immediately or attempting a shutdown, it probably depends on the exact state of the camera when the issue happens.

0 attachments

0 comments

Loading commits...