Use weak ref connection in PrivacyListManager
This commit is contained in:
parent
ecc13e2e91
commit
1d2f9749b6
|
@ -107,7 +107,7 @@ public class PrivacyListManager extends Manager {
|
|||
|
||||
// Send a result package acknowledging the reception of a privacy package.
|
||||
IQ iq = IQ.createResultIQ(privacy);
|
||||
connection.sendPacket(iq);
|
||||
connection().sendPacket(iq);
|
||||
}
|
||||
}, PACKET_FILTER);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue