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

Call XCloseDisplay in screenScalingFactor #204

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Jan 20, 2021

I clicked too much in gazebo, and the gui crashed :(

This function is called a bunch when Transform Control is used. Because the display was not cleaned up, eventually XOpenDisplay will throw an exception about too many connections.

Signed-off-by: Stephen Brawner [email protected]

@brawner brawner requested a review from iche033 as a code owner January 20, 2021 20:37
@github-actions github-actions bot added the 🔮 dome Ignition Dome label Jan 20, 2021
@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #204 (24410e0) into ign-rendering4 (2c85d92) will increase coverage by 0.01%.
The diff coverage is 75.00%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           ign-rendering4     #204      +/-   ##
==================================================
+ Coverage           52.58%   52.59%   +0.01%     
==================================================
  Files                 143      143              
  Lines               13337    13341       +4     
==================================================
+ Hits                 7013     7017       +4     
  Misses               6324     6324              
Impacted Files Coverage Δ
src/Utils.cc 79.41% <75.00%> (+1.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c85d92...24410e0. Read the comment docs.

Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

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

looks good to me.

@brawner
Copy link
Contributor Author

brawner commented Jan 21, 2021

Failures in ign_rendering-pr-win and ignition_rendering-ci-pr seem unrelated.

@brawner brawner merged commit 7e8a384 into ign-rendering4 Jan 21, 2021
@brawner brawner deleted the brawner/close-display-utils branch January 21, 2021 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants