mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-20 11:02:05 +01:00
SMACK-273
if RoomListenerMultiplexor is null also return a new one for this connection git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12441 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a71d8960e8
commit
0c88e19d3b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class RoomListenerMultiplexor implements ConnectionListener {
|
|||
*/
|
||||
public static RoomListenerMultiplexor getRoomMultiplexor(Connection conn) {
|
||||
synchronized (monitors) {
|
||||
if (!monitors.containsKey(conn)) {
|
||||
if (!monitors.containsKey(conn) || monitors.get(conn).get() == null) {
|
||||
RoomListenerMultiplexor rm = new RoomListenerMultiplexor(conn, new RoomMultiplexFilter(),
|
||||
new RoomMultiplexListener());
|
||||
|
||||
|
|
Loading…
Reference in a new issue