mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Merge pull request #12691 from huffman/fix/oven-exit-crash
Fix crashes on exit because of ResourceManager thread destruction
This commit is contained in:
commit
e05ee55495
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ Oven::Oven() {
|
|||
}
|
||||
|
||||
Oven::~Oven() {
|
||||
DependencyManager::get<ResourceManager>()->cleanup();
|
||||
|
||||
// quit all worker threads and wait on them
|
||||
for (auto& thread : _workerThreads) {
|
||||
thread->quit();
|
||||
|
|
Loading…
Reference in a new issue