mirror of https://github.com/zlatinb/muwire
parent
56da9a16b0
commit
4bc04ae631
|
@ -88,11 +88,11 @@ abstract class Connection implements Closeable {
|
|||
log.log(Level.WARNING, "$name already closed", new Exception() )
|
||||
return
|
||||
}
|
||||
log.fine("closing $name")
|
||||
log.info("closing $name")
|
||||
reader.interrupt()
|
||||
writer.interrupt()
|
||||
endpoint.close()
|
||||
log.fine("closed $name")
|
||||
log.info("closed $name")
|
||||
eventBus.publish(new DisconnectionEvent(destination: endpoint.destination))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue