1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 14:02:06 +01:00

Candidates Clear

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7313 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-02-27 14:46:04 +00:00 committed by thiago
parent 79b19ce620
commit 1f3e5116c0
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,6 @@ public class ICEResolver extends TransportResolver {
public synchronized void resolve() throws XMPPException {
this.setResolveInit();
this.cancel();
for (TransportCandidate candidate : this.getCandidatesList()) {
if (candidate instanceof ICECandidate) {
ICECandidate iceCandidate = (ICECandidate) candidate;
@ -87,6 +86,8 @@ public class ICEResolver extends TransportResolver {
}
}
this.clear();
for (Candidate candidate : iceNegociator.getSortedCandidates())
try {
Candidate.CandidateType type = candidate.getCandidateType();

View file

@ -136,7 +136,6 @@ public abstract class TransportResolver {
public void clear() throws XMPPException {
cancel();
candidates.clear();
//resolve();
}
/**