-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix(engine): move ImGui::End call to outside of if body #1353
base: main
Are you sure you want to change the base?
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1353 +/- ##
=======================================
Coverage 41.54% 41.54%
=======================================
Files 437 437
Lines 32850 32850
Branches 3820 3820
=======================================
Hits 13646 13646
Misses 19204 19204 ☔ View full report in Codecov by Sentry. |
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.
LGTM! Don't forget to add an entry to the changelog 😌
Haha I'd thought it was too little of a contribution to add it |
Still a fix though, gotta get that credit 👀 |
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.
Codecov / codecov/patch
engine/src/tools/play_pause/plugin.cpp#L58
Added line #L58 was not covered by tests
Isto não será importante?
Bem apanhado! Infelizmente a maioria do engine não está coberto pelos testes 😔 Mas yeah, de resto, quando é algo deterministico e não demasiado dificil de testar, é sempre bom tentar cobrir com testes. |
Description
Moved ImGui::End call to outside of if body.
Context
ImGui::End call was inside an if statement, meaning it would not be executed sometimes despite ImGui::Begin being called, this results in a crash.
Checklist