mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
More memory leak fixes
This commit is contained in:
@@ -304,7 +304,7 @@ NSString *TGImageViewOptionSynchronous = @"TGImageViewOptionSynchronous";
|
||||
int version = _version;
|
||||
__weak TGImageView *weakSelf = self;
|
||||
|
||||
[_disposable setDisposable:[signal startWithNext:^(id next)
|
||||
[_disposable setDisposable:[signal startStrictWithNext:^(id next)
|
||||
{
|
||||
bool synchronous = [NSThread isMainThread];
|
||||
TGDispatchOnMainThread(^
|
||||
@@ -323,7 +323,7 @@ NSString *TGImageViewOptionSynchronous = @"TGImageViewOptionSynchronous";
|
||||
TGLegacyLog(@"TGImageView signal error: %@", error);
|
||||
} completed:^
|
||||
{
|
||||
}]];
|
||||
} file:__FILE_NAME__ line:__LINE__]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user