X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/d6c5534acee4d543ee2c08b279b416ea69de42d8..159225ffd2b8b3122aa6da4be41e44aa97b5898a:/MainController.m?ds=sidebyside diff --git a/MainController.m b/MainController.m index 8abe8de..b2b8195 100755 --- a/MainController.m +++ b/MainController.m @@ -1170,7 +1170,7 @@ static MainController *sharedController; [[StatusWindowController sharedController] showNetworkErrorQueryWindow]; if ([self disconnectFromServer]) { [[PreferencesController sharedPrefs] resetRemotePlayerTextFields]; - [NSTimer scheduledTimerWithTimeInterval:90.0 target:self selector:@selector(checkForRemoteServer) userInfo:nil repeats:YES]; + [NSTimer scheduledTimerWithTimeInterval:90.0 target:self selector:@selector(checkForRemoteServer) userInfo:nil repeats:NO]; } else { ITDebugLog(@"CRITICAL ERROR, DISCONNECTING!"); } @@ -1180,7 +1180,7 @@ static MainController *sharedController; - (void)reconnect { if ([self connectToServer] == 0) { - [NSTimer scheduledTimerWithTimeInterval:90.0 target:self selector:@selector(checkForRemoteServer) userInfo:nil repeats:YES]; + [NSTimer scheduledTimerWithTimeInterval:90.0 target:self selector:@selector(checkForRemoteServer) userInfo:nil repeats:NO]; } [[StatusWindow sharedWindow] setLocked:NO]; [[StatusWindow sharedWindow] vanish:self];