From 7e1a950a0be2871045e0dda6ba2adc892d323464 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 18 Oct 2020 06:48:09 +0200 Subject: Fix potential crash in thumbnail loader --- include/AsyncImageLoader.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp index 27e46e3..fe8d52a 100644 --- a/include/AsyncImageLoader.hpp +++ b/include/AsyncImageLoader.hpp @@ -23,6 +23,7 @@ namespace QuickMedia { class AsyncImageLoader { public: + ~AsyncImageLoader(); // Returns false if the image loader is already loading an image. In that case, this function should be called again later. // set |resize_target_size| to {0, 0} to disable resizing. // |thumbnail_data.loading_state| has to be LoadingState::NOT_LOADED when calling this! -- cgit v1.2.3