Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2012-01-22 00:28:16 +0400
committerMikkel Krautz <mikkel@krautz.dk>2012-01-22 00:28:16 +0400
commitf6ca2685df1e2777b013c17d54b7c02d320faac4 (patch)
treee2615d9f5f6e47c7b0587dec1f7aa5008bdf600f
parent600c1ba4bb95fa0c091c9373dff51ac06e717beb (diff)
Dismiss the MUServerRootViewController when the connection is closed.
-rw-r--r--Source/Classes/MUServerRootViewController.m2
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];
}
}