Add missing return - closes #1114

This commit is contained in:
md_5 2014-07-16 17:12:52 +10:00
parent 949f150ea0
commit be13a00386

View File

@ -363,6 +363,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
if ( result.isCancelled() ) if ( result.isCancelled() )
{ {
disconnect( result.getCancelReason() ); disconnect( result.getCancelReason() );
return;
} }
if ( ch.isClosed() ) if ( ch.isClosed() )
{ {