-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Megashot Fix #174
base: master
Are you sure you want to change the base?
Megashot Fix #174
Conversation
Close Stonesense instead of leaving it unresponsive after taking megashot.
It is my understanding initial bug that lead to #102 has been fixed in #140. The only assert I could see possibly being hit was ensuring bitmap drawing wasn't held, which likely was caused by the extraneous call removed in #140. If this is indeed the case, stonesense no longer has a need to become unresponsive following a megashot. The only change that should be needed, outside of reverting #102, is to backup |
Agree with NicksWorld |
now works as intended |
Removed debug code i forgot added clockToMS to common header for future uses megashot timer uses MS now
StonesenseState.h
Outdated
@@ -27,6 +27,7 @@ class StonesenseState | |||
FrameTimers stoneSenseTimers; | |||
bool timeToReloadSegment; | |||
bool timeToReloadConfig; | |||
bool timeToCloseWindow; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, new var for debugging and future use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can keep it in a local branch, but as it is, this is just confusing to have in the mainline code
It is not uncommon to have debugging changes in a local branch that you can merge into your local code as needed.
Revert #102 as its not needed anymore