From e1c8cd4430015a307dbcb32894a030d5a13aee67 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 14 Oct 2021 16:59:27 +0200 Subject: Remove async image loader threads and instead check if the curl download process has finished --- include/MessageQueue.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/MessageQueue.hpp') diff --git a/include/MessageQueue.hpp b/include/MessageQueue.hpp index 286739d..ba28431 100644 --- a/include/MessageQueue.hpp +++ b/include/MessageQueue.hpp @@ -68,6 +68,10 @@ namespace QuickMedia { ++it; } } + + bool is_running() const { + return running; + } private: std::deque data_queue; std::mutex mutex; -- cgit v1.2.3