Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: remoting/ios/app/remoting_view_controller.mm

Issue 2886233003: [CRD iOS] Fix the leaky RemotingClient (Closed)
Patch Set: WIP Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/app/host_view_controller.mm ('k') | remoting/ios/display/gl_display_handler.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/remoting_view_controller.mm
diff --git a/remoting/ios/app/remoting_view_controller.mm b/remoting/ios/app/remoting_view_controller.mm
index 627ffaf76fda750a897ee7a2c2b072a4c389c577..215fd4b3357a0fc947cf32824b7db42862a10ee8 100644
--- a/remoting/ios/app/remoting_view_controller.mm
+++ b/remoting/ios/app/remoting_view_controller.mm
@@ -188,6 +188,7 @@ static CGFloat kHostInset = 5.f;
- (void)clientConnected {
HostViewController* hostViewController =
[[HostViewController alloc] initWithClient:_client];
+ _client = nil;
[self presentViewController:hostViewController animated:YES completion:nil];
}
« no previous file with comments | « remoting/ios/app/host_view_controller.mm ('k') | remoting/ios/display/gl_display_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698