mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-21 05:39:01 +00:00
[ASImageNode] Remove thread affinity dispatches
This commit is contained in:
parent
d9fc11f0f2
commit
2a94d88b4b
@ -123,11 +123,8 @@
|
|||||||
if (!ASObjectIsEqual(_image, image)) {
|
if (!ASObjectIsEqual(_image, image)) {
|
||||||
_image = image;
|
_image = image;
|
||||||
|
|
||||||
ASDN::MutexUnlocker u(_imageLock);
|
|
||||||
ASPerformBlockOnMainThread(^{
|
|
||||||
[self invalidateCalculatedLayout];
|
[self invalidateCalculatedLayout];
|
||||||
[self setNeedsDisplay];
|
[self setNeedsDisplay];
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user