mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-19 04:39:36 +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;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
ASPerformBlockOnMainThread(^{
|
||||
ASDN::MutexLocker l(_videoLock);
|
||||
|
||||
if (_placeholderImageNode != nil) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user