Delete the WorkQueue first

Fixes a potential crash on exit.
coverity_scan^2
scrawl 8 years ago
parent 3732979eec
commit 71f786ff84

@ -258,6 +258,8 @@ namespace MWRender
RenderingManager::~RenderingManager()
{
// let background loading thread finish before we delete anything else
mWorkQueue = NULL;
}
MWRender::Objects& RenderingManager::getObjects()

Loading…
Cancel
Save