From a4ae941a7cdbd194351a5ab59427f00a3d71ddab Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 20 Jan 2017 16:47:37 +0100 Subject: [PATCH] Fix memory leak in MUC-light Basically the same fix as for MUC in 965cbcc9798ca54dcadf4e78fc91839fd4d4471f --- .../org/jivesoftware/smackx/muclight/MultiUserChatLight.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/muclight/MultiUserChatLight.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/muclight/MultiUserChatLight.java index e14f9df11..93796738a 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/muclight/MultiUserChatLight.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/muclight/MultiUserChatLight.java @@ -267,7 +267,7 @@ public class MultiUserChatLight { try { connection.createStanzaCollectorAndSend(createMUCLightIQ).nextResultOrThrow(); - } catch (InterruptedException | NoResponseException | XMPPErrorException e) { + } catch (NotConnectedException | InterruptedException | NoResponseException | XMPPErrorException e) { removeConnectionCallbacks(); throw e; }