diff --git a/src/renderer/AsyncResourceGatherer.cpp b/src/renderer/AsyncResourceGatherer.cpp index 7cc6bba..1a77f20 100644 --- a/src/renderer/AsyncResourceGatherer.cpp +++ b/src/renderer/AsyncResourceGatherer.cpp @@ -18,10 +18,7 @@ CAsyncResourceGatherer::CAsyncResourceGatherer() { enqueueDMAFrames(); initialGatherThread = std::thread([this]() { this->gather(); }); - initialGatherThread.detach(); - - asyncLoopThread = std::thread([this]() { this->asyncAssetSpinLock(); }); - asyncLoopThread.detach(); + asyncLoopThread = std::thread([this]() { this->asyncAssetSpinLock(); }); } void CAsyncResourceGatherer::enqueueDMAFrames() {