From 91f8febf8e52067a290676b9fc226f3d7c8dd437 Mon Sep 17 00:00:00 2001 From: "jamiewalch@google.com" Date: Fri, 16 Sep 2011 20:00:23 +0000 Subject: [PATCH] If the client initiates disconnection, set host to NULL to avoid trying to shut it down. BUG=96647 TEST=Manual Review URL: http://codereview.chromium.org/7918006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101552 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/disconnect_window_mac.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/remoting/host/disconnect_window_mac.mm b/remoting/host/disconnect_window_mac.mm index 1312b1166d85e0..0743c1bafc455b 100644 --- a/remoting/host/disconnect_window_mac.mm +++ b/remoting/host/disconnect_window_mac.mm @@ -71,6 +71,11 @@ @implementation DisconnectWindowController @synthesize disconnectWindow = disconnectWindow_; @synthesize username = username_; +- (void)close { + self.host = NULL; + [super close]; +} + - (id)initWithHost:(remoting::ChromotingHost*)host window:(remoting::DisconnectWindowMac*)disconnectWindow username:(NSString*)username {