Skip to content

Commit

Permalink
Fixed issue #2324
Browse files Browse the repository at this point in the history
Ogre::Root::shutdown followed by Ogre::Root::~Root leads to a
segmentation fault. Since ~Root calls shutdown anyhow, the shutdown call
in RenderEngine::Fini can be removed.
  • Loading branch information
Tim Rakowski committed Aug 7, 2017
1 parent a863b42 commit 27992b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gazebo/rendering/RenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ void RenderEngine::Fini()
// TODO: this was causing a segfault. Need to debug, and put back in
if (this->dataPtr->root)
{
this->dataPtr->root->shutdown();
/*const Ogre::Root::PluginInstanceList ll =
this->dataPtr->root->getInstalledPlugins();
Expand Down

0 comments on commit 27992b0

Please sign in to comment.