You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2015/07/07 22:34:40 UTC
thrift git commit: Revert "THRIFT-3225 Fix TPipeServer unpredictable
behavior on close"
Repository: thrift
Updated Branches:
refs/heads/master f48588f12 -> 170445644
Revert "THRIFT-3225 Fix TPipeServer unpredictable behavior on close"
This reverts commit f48588f124fb8636f94bf23d098d4483f077e2de.
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/17044564
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/17044564
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/17044564
Branch: refs/heads/master
Commit: 17044564494a4e6354a49670c281555f9704ecc1
Parents: f48588f
Author: Jens Geyer <je...@apache.org>
Authored: Tue Jul 7 22:34:13 2015 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Tue Jul 7 22:34:13 2015 +0200
----------------------------------------------------------------------
lib/cpp/src/thrift/transport/TPipeServer.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/17044564/lib/cpp/src/thrift/transport/TPipeServer.cpp
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/transport/TPipeServer.cpp b/lib/cpp/src/thrift/transport/TPipeServer.cpp
index 44295f1..3779d7f 100644
--- a/lib/cpp/src/thrift/transport/TPipeServer.cpp
+++ b/lib/cpp/src/thrift/transport/TPipeServer.cpp
@@ -119,10 +119,7 @@ public:
}
}
- virtual void close() {
- TAutoCrit lock(pipe_protect_);
- Pipe_.reset();
- }
+ virtual void close() { Pipe_.reset(); }
virtual boost::shared_ptr<TTransport> acceptImpl();