diff options
Diffstat (limited to 'cpp/src/IceSSL/SChannelTransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/SChannelTransceiverI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SChannelTransceiverI.cpp b/cpp/src/IceSSL/SChannelTransceiverI.cpp index 126a966f6b3..2b842769b09 100644 --- a/cpp/src/IceSSL/SChannelTransceiverI.cpp +++ b/cpp/src/IceSSL/SChannelTransceiverI.cpp @@ -774,6 +774,13 @@ IceSSL::TransceiverI::close() } _stream->close(); + + // + // Clear the buffers now instead of waiting for destruction. + // + _writeBuffer.b.clear(); + _readBuffer.b.clear(); + _readUnprocessed.b.clear(); } IceInternal::SocketOperation |