aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/RxLibrary/GRXConcurrentWriteable.m')
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
index 7cc2101a55..d8491d2aed 100644
--- a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
+++ b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
@@ -64,10 +64,10 @@
return;
}
- @synchronized (self) {
- if (self->_cancelled) {
- return;
- }
+ @synchronized(self) {
+ if (self->_cancelled) {
+ return;
+ }
}
[self.writeable writeValue:value];
@@ -80,7 +80,7 @@
if (self->_alreadyFinished) {
return;
}
- @synchronized (self) {
+ @synchronized(self) {
if (self->_cancelled) {
return;
}