mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +01:00
Close Echo when Session Closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7034 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
8115930299
commit
85387aa360
2 changed files with 10 additions and 1 deletions
|
@ -142,6 +142,15 @@ public abstract class TransportNegotiator extends JingleNegotiator {
|
|||
return acceptedLocalCandidate;
|
||||
}
|
||||
|
||||
public void close() {
|
||||
super.close();
|
||||
|
||||
for (TransportCandidate candidate : offeredCandidates)
|
||||
if (candidate.getCandidateEcho() != null)
|
||||
candidate.getCandidateEcho().cancel();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtain the best common transport candidate obtained in the negotiation.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue