1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 17:49:41 +00:00

Delete the WorkQueue first

Fixes a potential crash on exit.
This commit is contained in:
scrawl 2016-08-14 18:10:29 +02:00
parent 3732979eec
commit 71f786ff84

View file

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