Forcing call to super.close() even if _closing is already set.
This commit is contained in:
parent
ea56eaff00
commit
3476887f8a
|
@ -338,15 +338,16 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
|
|||
@Override
|
||||
public void close() throws IOException
|
||||
{
|
||||
if (_closing)
|
||||
return;
|
||||
|
||||
_closing=true;
|
||||
LOG.debug("{} close",_session);
|
||||
// For safety we always force a close calling super
|
||||
try
|
||||
{
|
||||
_engine.closeOutbound();
|
||||
process(null,null);
|
||||
if (!_closing)
|
||||
{
|
||||
_closing=true;
|
||||
LOG.debug("{} close",_session);
|
||||
_engine.closeOutbound();
|
||||
process(null,null);
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue