2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix another crash in DocumentData destructor.

This commit is contained in:
John Preston
2018-10-30 09:06:15 +04:00
parent d38a6e5047
commit f28a92be1d

View File

@@ -770,7 +770,6 @@ void Image::checkSource() const {
}
void Image::unload() const {
_source->takeLoaded();
_source->unload();
invalidateSizeCache();
ActiveCache().decrement(ComputeUsage(_data));