Skip to content

Commit

Permalink
Check for null serverRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
megabitdragon committed Oct 19, 2014
1 parent e6410e0 commit cc5ea4d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ private void finishServerConnection() {

public void connectAuto() {
this.serverConnection = ApiConnection.AUTO;

if (!isServerRouteLoaded()) {
return;
}
startServerConnectionDetection();
}

Expand Down

0 comments on commit cc5ea4d

Please sign in to comment.