Navigation Menu

Skip to content

Commit

Permalink
Fix logic error during module destruction, we need to clear the tempo…
Browse files Browse the repository at this point in the history
…rary.
  • Loading branch information
codereader committed Feb 13, 2017
1 parent e3edcb1 commit a4dc580
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant/modulesystem/ModuleRegistry.cpp
Expand Up @@ -60,7 +60,7 @@ void ModuleRegistry::unloadModules()
ModulesMap tempMap;
tempMap.swap(_initialisedModules);

_initialisedModules.clear();
tempMap.clear();

// We need to delete all pending objects before unloading modules
// wxWidgets needs a chance to delete them before memory access is denied
Expand Down
Binary file modified tools/xcode/.DS_Store
Binary file not shown.

0 comments on commit a4dc580

Please sign in to comment.