mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fix another crash in DocumentData destructor.
This commit is contained in:
parent
d38a6e5047
commit
f28a92be1d
1 changed files with 0 additions and 1 deletions
|
@ -770,7 +770,6 @@ void Image::checkSource() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Image::unload() const {
|
void Image::unload() const {
|
||||||
_source->takeLoaded();
|
|
||||||
_source->unload();
|
_source->unload();
|
||||||
invalidateSizeCache();
|
invalidateSizeCache();
|
||||||
ActiveCache().decrement(ComputeUsage(_data));
|
ActiveCache().decrement(ComputeUsage(_data));
|
||||||
|
|
Loading…
Add table
Reference in a new issue