Handle deinitialisation

This commit is contained in:
2023-09-24 20:27:34 +02:00
parent 5b5f18b9a8
commit 5dfc2de985
3 changed files with 6 additions and 2 deletions

View File

@@ -239,7 +239,6 @@ namespace openVulkanoCpp::AR
ArRecorder::AsyncProcessor::~AsyncProcessor()
{
requestExit = true;
queueMutex.lock();
newDataAvailable.notify_one();
if (processingThread.joinable()) processingThread.join();
}