From 13d398924889f2bb7422cd52cafcccb2c47037cc Mon Sep 17 00:00:00 2001 From: "Benjamin Scholtysik (Reimold)" Date: Thu, 7 Dec 2017 11:34:44 -0800 Subject: [PATCH] Fix typo in BITChannel from previous commit that would cause persistDataItemQueueWithBackgroundTask to block --- Classes/BITChannel.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/BITChannel.m b/Classes/BITChannel.m index e539c216de..b99d9f0229 100644 --- a/Classes/BITChannel.m +++ b/Classes/BITChannel.m @@ -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]; });