We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7408a9e commit 8c8c3d3Copy full SHA for 8c8c3d3
Branch-SDK/Branch-SDK/Networking/BNCServerRequestQueue.m
@@ -233,9 +233,9 @@ - (void)persistEventually {
233
BNCNanoSecondsFromTimeInterval(BATCH_WRITE_TIMEOUT),
234
BNCNanoSecondsFromTimeInterval(BATCH_WRITE_TIMEOUT / 10.0)
235
);
236
- __weak typeof(self) weakSelf = self;
+ __weak __typeof(self) weakSelf = self;
237
dispatch_source_set_event_handler(self.persistTimer, ^ {
238
- __strong typeof(self) strongSelf = weakSelf;
+ __strong __typeof(self) strongSelf = weakSelf;
239
if (strongSelf) {
240
[strongSelf persistImmediately];
241
dispatch_source_cancel(strongSelf.persistTimer);
0 commit comments