mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Fix another crash in DocumentData destructor.
This commit is contained in:
@@ -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));
|
||||||
|
Reference in New Issue
Block a user