1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Unload viewer and stop background jobs before resources unloading

This commit is contained in:
Andrei Kortunov 2019-05-06 17:07:22 +04:00
parent 7c53b99d31
commit 57176ff8d4

View File

@ -257,10 +257,10 @@ OMW::Engine::~Engine()
mWorkQueue = nullptr;
mResourceSystem.reset();
mViewer = nullptr;
mResourceSystem.reset();
delete mEncoder;
mEncoder = nullptr;