1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

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

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;
} }