aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-18 06:48:09 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-18 06:48:09 +0200
commit7e1a950a0be2871045e0dda6ba2adc892d323464 (patch)
tree90190f3a987ffb1b0fc6d9eaa499766155bb4d32 /include
parentfa4897265ae955872b0c2530300a3110e995510e (diff)
Fix potential crash in thumbnail loader
Diffstat (limited to 'include')
-rw-r--r--include/AsyncImageLoader.hpp1
1 files changed, 1 insertions, 0 deletions
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!