From f28a92be1de9ba2929058e5baf60675903181f98 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 30 Oct 2018 09:06:15 +0400 Subject: [PATCH] Fix another crash in DocumentData destructor. --- Telegram/SourceFiles/ui/image/image.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/image/image.cpp b/Telegram/SourceFiles/ui/image/image.cpp index 092dd3d78..cab8b86a6 100644 --- a/Telegram/SourceFiles/ui/image/image.cpp +++ b/Telegram/SourceFiles/ui/image/image.cpp @@ -770,7 +770,6 @@ void Image::checkSource() const { } void Image::unload() const { - _source->takeLoaded(); _source->unload(); invalidateSizeCache(); ActiveCache().decrement(ComputeUsage(_data));