diff --git a/src/graphics/material_manager.cpp b/src/graphics/material_manager.cpp index 81433e243..2a1b8c04a 100644 --- a/src/graphics/material_manager.cpp +++ b/src/graphics/material_manager.cpp @@ -56,7 +56,9 @@ MaterialManager::MaterialManager() */ MaterialManager::~MaterialManager() { +#ifndef SERVER_ONLY SP::SPTextureManager::get()->stopThreads(); +#endif for(unsigned int i=0; i