From 49b7f8349be4c5ca9d180133d35e57f912f0a373 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Mon, 22 May 2017 10:39:48 -0700 Subject: Remove synchronization in GRXBufferedPipe:writesFinishedWithError and change tests correspondingly --- src/objective-c/RxLibrary/GRXBufferedPipe.m | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/objective-c/RxLibrary') 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; - }); } } -- cgit v1.2.3