aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-05-22 10:39:48 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-05-22 10:39:48 -0700
commit49b7f8349be4c5ca9d180133d35e57f912f0a373 (patch)
treee308993a0bf9f89957bad5f95378ba3ff9667541 /src/objective-c/RxLibrary
parentec8e82507ebd9439d02d54937d0f4e8179e42fdc (diff)
Remove synchronization in GRXBufferedPipe:writesFinishedWithError and change tests correspondingly
Diffstat (limited to 'src/objective-c/RxLibrary')
-rw-r--r--src/objective-c/RxLibrary/GRXBufferedPipe.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/objective-c/RxLibrary/GRXBufferedPipe.m b/src/objective-c/RxLibrary/GRXBufferedPipe.m
index 9dfe332eef..bffabc53f2 100644
--- a/src/objective-c/RxLibrary/GRXBufferedPipe.m
+++ b/src/objective-c/RxLibrary/GRXBufferedPipe.m
@@ -82,11 +82,6 @@
if (errorOrNil) {
// No need to write pending values.
[self finishWithError:_errorOrNil];
- } else {
- // Wait until all the pending writes to be finished.
- dispatch_sync(_writeQueue, ^{
- return;
- });
}
}