• Dave Cridland's avatar
    Do not synchronize on isClosed() · 389c17c7
    Dave Cridland authored
    There is a deadlock while reading the state variable if close() is running.
    
    This switches the state to be volatile instead - it's only written to inside
    the lengthy close() lock, so this should be reasonable.
    389c17c7
Name
Last commit
Last update
..
ByteBufferWriter.java Loading commit data...
ClientConnectionHandler.java Loading commit data...
ComponentConnectionHandler.java Loading commit data...
ConnectionHandler.java Loading commit data...
MultiplexerConnectionHandler.java Loading commit data...
NIOConnection.java Loading commit data...
OfflinePacketDeliverer.java Loading commit data...
XMLLightweightParser.java Loading commit data...
XMLNotWellFormedException.java Loading commit data...
XMPPCodecFactory.java Loading commit data...
XMPPDecoder.java Loading commit data...
XMPPEncoder.java Loading commit data...