fix linux crash at program exit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7124 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: a6d306decd74a60d0bafd6823cf8869ab83f3023 Former-commit-id: 2fee85968ef68bce704ebc82db437e78a5aacd25
This commit is contained in:
parent
25315d2e21
commit
06eb064ec9
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ GfModule::GfModule(const std::string& strShLibName, void* hShLibHandle)
|
||||||
|
|
||||||
GfModule::~GfModule()
|
GfModule::~GfModule()
|
||||||
{
|
{
|
||||||
_mapModulesByLibName.clear(); // Avoid memory leaks
|
// this actually causes memory leaks
|
||||||
|
//_mapModulesByLibName.clear(); // Avoid memory leaks
|
||||||
}
|
}
|
||||||
|
|
||||||
GfModule* GfModule::load(const std::string& strShLibName)
|
GfModule* GfModule::load(const std::string& strShLibName)
|
||||||
|
|
Loading…
Reference in a new issue