Skip to content

Comments

Fix a potential deadlock on opening a project#691

Merged
SamCarlberg merged 2 commits intoWPIRoboticsProjects:masterfrom
SamCarlberg:fix/project-open-deadlock
Oct 25, 2016
Merged

Fix a potential deadlock on opening a project#691
SamCarlberg merged 2 commits intoWPIRoboticsProjects:masterfrom
SamCarlberg:fix/project-open-deadlock

Conversation

@SamCarlberg
Copy link
Member

This deadlock is caused by SocketImpl.setValueOptional being a synchronized method and posting a SocketChangedEvent that the UI thread tries to handle by locking on the socket when getting it's value.

@codecov-io
Copy link

codecov-io commented Oct 24, 2016

Current coverage is 54.56% (diff: 100%)

Merging #691 into master will increase coverage by 0.08%

@@             master       #691   diff @@
==========================================
  Files           209        209          
  Lines          6713       6715     +2   
  Methods           0          0          
  Messages          0          0          
  Branches        656        656          
==========================================
+ Hits           3657       3664     +7   
+ Misses         2886       2884     -2   
+ Partials        170        167     -3   

Sunburst

Powered by Codecov. Last update 1d02ed1...3cbdc7b

@JLLeitschuh
Copy link
Member

JLLeitschuh commented Oct 25, 2016

@SamCarlberg SamCarlberg merged commit 54d98ea into WPIRoboticsProjects:master Oct 25, 2016
@SamCarlberg SamCarlberg deleted the fix/project-open-deadlock branch October 25, 2016 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants