diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2012-01-22 00:28:16 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2012-01-22 00:28:16 +0400 |
commit | f6ca2685df1e2777b013c17d54b7c02d320faac4 (patch) | |
tree | e2615d9f5f6e47c7b0587dec1f7aa5008bdf600f | |
parent | 600c1ba4bb95fa0c091c9373dff51ac06e717beb (diff) |
Dismiss the MUServerRootViewController when the connection is closed.
-rw-r--r-- | Source/Classes/MUServerRootViewController.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Classes/MUServerRootViewController.m b/Source/Classes/MUServerRootViewController.m index 6078770..6ed68a1 100644 --- a/Source/Classes/MUServerRootViewController.m +++ b/Source/Classes/MUServerRootViewController.m @@ -166,6 +166,8 @@ UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Connection closed" message:[err localizedDescription] delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alertView show]; [alertView release]; + + [[MUConnectionController sharedController] disconnectFromServer]; } } |