Skip to content

Conversation

@lassombra
Copy link
Contributor

This is not the cleanest approach but is the most surgical change I could find to fix this bug. It ensures that even if no checklists are loaded, the checklist MFD doesn't loop until TopStep overflows and goes negative causing an access violation since TopStep is an index.

Fix the MFD to not cause a crash with a bad checklist file.

This is an incomplete fix for crashing as it's still possible to crash if there is something wrong with the checklist state in the scenario.  More work is needed.
@rcflyinghokie
Copy link
Collaborator

While this might make it harder to see immediately that a checklist is an issue, it will prevent CTD for releases.

@lassombra
Copy link
Contributor Author

I think I'm going to put this to draft and add two things:

  1. A fix for crashing when a checklist is in progress
  2. a configuration option to throw an exception if checklists fail to load

This will improve behavior for users, but give Folger's the quick crash behavior.

@lassombra lassombra marked this pull request as draft March 5, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants