From 27992b0f7cf7254ab7a7ae818ac46ebcc46569ca Mon Sep 17 00:00:00 2001 From: Tim Rakowski Date: Mon, 7 Aug 2017 22:55:51 +0200 Subject: [PATCH] Fixed issue #2324 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. --- gazebo/rendering/RenderEngine.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gazebo/rendering/RenderEngine.cc b/gazebo/rendering/RenderEngine.cc index 9235bbcf7f..5c05d53317 100644 --- a/gazebo/rendering/RenderEngine.cc +++ b/gazebo/rendering/RenderEngine.cc @@ -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();