mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
Add AbstractXMPPConnection.initState()
and init/reset the sychronization points there. This method is called right at the beginning of connect() and at the end of shutdown().
This commit is contained in:
parent
7518bf9a25
commit
c4289b2c18
2 changed files with 13 additions and 3 deletions
|
@ -534,6 +534,12 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
reader = null;
|
||||
writer = null;
|
||||
|
||||
initState();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initState() {
|
||||
super.initState();
|
||||
maybeCompressFeaturesReceived.init();
|
||||
compressSyncPoint.init();
|
||||
smResumedSyncPoint.init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue