• Guus der Kinderen's avatar
    OF-883: Prevent multiple closes of the same connection. · 0cd1edef
    Guus der Kinderen authored
    When a connection is closed, several events can be involved (and can be triggered).
    Some of these events will attempt to close the connection (if it hadn't been already).
    This, at best, least to multiple invocations of close-listeners. At worst, a loop of
    close-calls is created.
    
    This commit replaces the two-way boolean that guards closure (isClosed) with a
    three-way guard. Now, a distinction is made between between a connection that is
    closed, and one that is closing.
    
    Additionally, some null pointer guards have been added, as I've seen those pop up in
    my local logs during development.
    0cd1edef
Name
Last commit
Last update
..
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...