diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2010-09-29 00:39:00 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2010-09-29 00:39:00 +0400 |
commit | 6e4e9e2e68dd8ecc4273182c84a15dd073fdc297 (patch) | |
tree | 88dfb7966ef630137bb487d4afd696824736c4fb | |
parent | 9fcadebadb6852fa4d85e80cc1a23e7c6db2d1e1 (diff) |
Update to use new MumbleKit MKConnection API.
m--------- | MumbleKit | 0 | ||||
-rw-r--r-- | Source/Classes/ServerRootViewController.m | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MumbleKit b/MumbleKit -Subproject b6e358ec9886f209b87db467b8122057a4aad8a +Subproject 1a1a86697cd2685f9ff4b1691d9ea1b732f1c8a diff --git a/Source/Classes/ServerRootViewController.m b/Source/Classes/ServerRootViewController.m index 8d0cdab..a96e4cf 100644 --- a/Source/Classes/ServerRootViewController.m +++ b/Source/Classes/ServerRootViewController.m @@ -457,7 +457,7 @@ // Cancel if (buttonIndex == 0) { // Tear down the connection. - [_connection closeStreams]; + [_connection disconnect]; return; // Ignore @@ -484,7 +484,7 @@ // Disconnect from the server - (void) disconnectClicked:(id)sender { - [_connection closeStreams]; + [_connection disconnect]; [[self navigationController] dismissModalViewControllerAnimated:YES]; } |