Authored by 钱兢安

防止多次创建timer review by 洛克

@@ -482,7 +482,9 @@ @@ -482,7 +482,9 @@
482 dispatch_async(dispatch_get_main_queue(), ^{ 482 dispatch_async(dispatch_get_main_queue(), ^{
483 if (tag == 1) {//登录成功了之后才继续后面的。。。。 483 if (tag == 1) {//登录成功了之后才继续后面的。。。。
484 [self socketSendEndNotify]; 484 [self socketSendEndNotify];
485 - _socketTimer = [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(socketSendEndNotify) userInfo:nil repeats:YES]; 485 + if(_socketTimer == nil){
  486 + _socketTimer = [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(socketSendEndNotify) userInfo:nil repeats:YES];
  487 + }
486 } 488 }
487 }); 489 });
488 } 490 }