mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-21 11:39:43 +00:00
Fix typo in BITChannel from previous commit that would cause persistDataItemQueueWithBackgroundTask to block
This commit is contained in:
@@ -197,7 +197,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)persistDataItemQueueWithBackgroundTask:(UIApplication *)application {
|
||||
__weak typeof(self) weakSelf = self;
|
||||
dispatch_sync(self.dataItemsOperations, ^{
|
||||
dispatch_async(self.dataItemsOperations, ^{
|
||||
typeof(self) strongSelf = weakSelf;
|
||||
[strongSelf persistDataItemQueue:&BITTelemetryEventBuffer];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user