diff options
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r-- | java/src/Ice/ConnectionI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java index 70fed8c7ec7..fd8a387a52d 100644 --- a/java/src/Ice/ConnectionI.java +++ b/java/src/Ice/ConnectionI.java @@ -2419,7 +2419,7 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne // If all the messages were sent and we are in the closing state, we schedule // the close timeout to wait for the peer to close the connection. // - if(_state == StateClosing) + if(_state == StateClosing && _dispatchCount == 0) { setState(StateClosingPending); int op = _transceiver.closing(true, _exception); |