Fix memory leak in MUC-light

Basically the same fix as for MUC in
965cbcc979
This commit is contained in:
Florian Schmaus 2017-01-20 16:47:37 +01:00
parent 4377e39b5f
commit a4ae941a7c
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ public class MultiUserChatLight {
try { try {
connection.createStanzaCollectorAndSend(createMUCLightIQ).nextResultOrThrow(); connection.createStanzaCollectorAndSend(createMUCLightIQ).nextResultOrThrow();
} catch (InterruptedException | NoResponseException | XMPPErrorException e) { } catch (NotConnectedException | InterruptedException | NoResponseException | XMPPErrorException e) {
removeConnectionCallbacks(); removeConnectionCallbacks();
throw e; throw e;
} }