From 00aa564d84f57e0add0b02bfde28183af663dbf4 Mon Sep 17 00:00:00 2001 From: Ryan Huffman <ryanhuffman@gmail.com> Date: Wed, 21 Mar 2018 10:19:44 -0700 Subject: [PATCH] Fix crashes on exit because of ResourceManager thread destruction --- tools/oven/src/Oven.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/oven/src/Oven.cpp b/tools/oven/src/Oven.cpp index a9aa6907f1..c3fec2d15e 100644 --- a/tools/oven/src/Oven.cpp +++ b/tools/oven/src/Oven.cpp @@ -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();