Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 5, 2025

🦟 Bug fix

Fixes #3060

Summary

When gi is being disabled (Enabled changes from true to false), the code sets the debug visualization mode to None, marks it as dirty, and sets a flag. After releasing the mutex lock, if the flag is set, it emits the DebugVisualizationModeChanged signal to notify the GUI to update.

This ensures internal state consistency and prevents crashes by forcing the debug visualization mode to None when gi is off. Emitting the signal outside the lock avoids deadlocks and keeps the GUI synchronized with the internal state.

Checklist

@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Sep 5, 2025
@azeey
Copy link
Contributor

azeey commented Oct 16, 2025

@Mergifyio rebase

…ualization mode (#3062)

When gi is being disabled (Enabled changes from true to false), the code sets the debug visualization mode to None, marks it as dirty, and sets a flag. After releasing the mutex lock, if the flag is set, it emits the DebugVisualizationModeChanged signal to notify the GUI to update.

This ensures internal state consistency and prevents crashes by forcing the debug visualization mode to None when gi is off. Emitting the signal outside the lock avoids deadlocks and keeps the GUI synchronized with the internal state.

Signed-off-by: momo <[email protected]>
(cherry picked from commit 42ab45a)
Copy link
Contributor Author

mergify bot commented Oct 16, 2025

rebase

✅ Branch has been successfully rebased

@azeey azeey force-pushed the mergify/bp/gz-sim10/pr-3062 branch from d2715e4 to 57a29a3 Compare October 16, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Crash when disabling gi with active debug visualization mode

3 participants