aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-02-05 10:16:15 -0800
committerGravatar GitHub <noreply@github.com>2018-02-05 10:16:15 -0800
commit53a295bca748643603a689e2d88cb8cc492386af (patch)
tree9a86de1b3dff28696b83d8fac3b0a3cd485e9ebd /src/objective-c/RxLibrary/GRXConcurrentWriteable.m
parentd65458dde865deecf101cdd5434343b4ae41e7e6 (diff)
Fix a typo
Diffstat (limited to 'src/objective-c/RxLibrary/GRXConcurrentWriteable.m')
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
index dc801bede8..c262313496 100644
--- a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
+++ b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
@@ -66,7 +66,7 @@
- (void)enqueueSuccessfulCompletion {
__weak typeof(self) weakSelf = self;
dispatch_async(_writeableQueue, ^{
- typeof(self) strongSelf = self;
+ typeof(self) strongSelf = weakSelf;
if (strongSelf) {
BOOL finished = NO;
@synchronized (self) {