Skip to content

Commit

Permalink
Fix deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
jmirabel committed Oct 11, 2017
1 parent ca64d7e commit 1b613fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/node-action.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ namespace gepetto {
n->setVisibilityMode(graphics::ALWAYS_ON_TOP);
break;
case ATTACH_TO_WINDOW:
window_->osg()->osgFrameMutex().lock();
window_->attachToWindow(n->getID());
window_->osg()->osgFrameMutex().unlock();
break;
case ATTACH_CAMERA_TO_NODE:
window_->osg()->osgFrameMutex().lock();
Expand Down

0 comments on commit 1b613fb

Please sign in to comment.