diff options
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r-- | cpp/src/Ice/Connection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp index 747dedad362..5f1080b26f1 100644 --- a/cpp/src/Ice/Connection.cpp +++ b/cpp/src/Ice/Connection.cpp @@ -108,6 +108,8 @@ IceInternal::Connection::waitUntilFinished() const { wait(); } + + assert(_state == StateClosed); } void @@ -1412,7 +1414,7 @@ IceInternal::Connection::setState(State state) { // // If we are registered with the thread pool, we - // unregister. finish() will then do the close. + // unregister. finished() will then do the close. // unregisterWithPool(); } |