mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 13:32:07 +01:00
Fix memory leak in MutliUserChat.removeConnectionCallback().
Fix memory leak by removing subject listener in MutliUserChat.removeConnectionCallback(). Fixes SMACK-782.
This commit is contained in:
parent
65b4f506dc
commit
44e4607259
1 changed files with 1 additions and 0 deletions
|
@ -2011,6 +2011,7 @@ public class MultiUserChat {
|
|||
private void removeConnectionCallbacks() {
|
||||
connection.removeSyncStanzaListener(messageListener);
|
||||
connection.removeSyncStanzaListener(presenceListener);
|
||||
connection.removeSyncStanzaListener(subjectListener);
|
||||
connection.removeSyncStanzaListener(declinesListener);
|
||||
connection.removePacketInterceptor(presenceInterceptor);
|
||||
if (messageCollector != null) {
|
||||
|
|
Loading…
Reference in a new issue