From ffff73a172b8de5f33c0d1d1f23d011808d601a1 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Wed, 1 Oct 2014 08:39:20 -0230 Subject: Added missing ConnectionI::setCallback fix to JS --- cpp/src/Ice/ConnectionI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Ice/ConnectionI.cpp') diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp index d52e0867124..6e807000c36 100644 --- a/cpp/src/Ice/ConnectionI.cpp +++ b/cpp/src/Ice/ConnectionI.cpp @@ -1180,7 +1180,7 @@ Ice::ConnectionI::setCallback(const ConnectionCallbackPtr& callback) bool closed = false; { IceUtil::Monitor::Lock sync(*this); - if(_state > StateClosing) + if(_state >= StateClosed) { closed = true; return; -- cgit v1.2.3