mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-19 12:49:02 +00:00
Replace dispatch_async(dispatch_get_main_queue... with ASPerformBlockOnMainThread
This commit is contained in:
parent
6a4bc3fd5b
commit
a49d620771
@ -213,7 +213,7 @@ static NSString * const kStatus = @"status";
|
|||||||
|
|
||||||
_placeholderImageNode.image = image;
|
_placeholderImageNode.image = image;
|
||||||
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
ASPerformBlockOnMainThread(^{
|
||||||
ASDN::MutexLocker l(_videoLock);
|
ASDN::MutexLocker l(_videoLock);
|
||||||
|
|
||||||
if (_placeholderImageNode != nil) {
|
if (_placeholderImageNode != nil) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user