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