fixed a NullPointer Exception

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5452 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 16 years ago
parent 9bed4de280
commit a0605325bb

@ -648,16 +648,16 @@ public final class serverCore extends serverAbstractBusyThread implements server
// close everything // close everything
this.controlSocket.close(); this.controlSocket.close();
this.controlSocket = null;
} catch (final IOException e) { } catch (final IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
if (busySessions != null) if (busySessions != null)
{ {
busySessions.remove(this); busySessions.remove(this);
if(log.isFinest()) log.logFinest("* removed session "+ this.controlSocket.getRemoteSocketAddress() + this.request); if(log.isFinest()) log.logFinest("* removed session "+ this.controlSocket.getRemoteSocketAddress() + " " + this.request);
} }
this.controlSocket = null;
} }
} }

Loading…
Cancel
Save