fix bug that makes GetIP only work once per user
This commit is contained in:
parent
0e6f475f94
commit
a619f35842
1 changed files with 2 additions and 0 deletions
|
@ -213,6 +213,7 @@ public class CollabVMClient {
|
|||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
if (msgArr.Length < 1) return;
|
||||
this.NOPRecieve.Stop();
|
||||
this.NOPRecieve.Interval = 10000;
|
||||
|
@ -435,6 +436,7 @@ public class CollabVMClient {
|
|||
var tsk = this.GotIPTasks.Find(x => x.username == msgArr[2]);
|
||||
if (tsk == null) return;
|
||||
tsk.IPTask.TrySetResult(msgArr[3]);
|
||||
this.GotIPTasks.Remove(tsk);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue