Skip to content
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 mimimal scene deadlock on shutdown #300

Merged
merged 2 commits into from
Oct 6, 2021
Merged

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Oct 6, 2021

Signed-off-by: Nate Koenig [email protected]

🦟 Bug fix

Fixes gazebosim/gz-sim#1084

Summary

The GUI would occasionally hang on shutdown. The problem was that the QT connections are still active during the shutdown process, which could trigger the "WaitForWorker" function after the renderSync object has been destroyed. This in turn causes the condition variable to lock on a wait.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Nate Koenig added 2 commits October 6, 2021 11:18
Signed-off-by: Nate Koenig <[email protected]>
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Oct 6, 2021
@chapulina chapulina added the bug Something isn't working label Oct 6, 2021
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@chapulina chapulina merged commit 443bfac into ign-gui6 Oct 6, 2021
@chapulina chapulina deleted the minimal_scene_deadlock branch October 6, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants