Skip to content

Commit

Permalink
If the client initiates disconnection, set host to NULL to avoid tryi…
Browse files Browse the repository at this point in the history
…ng 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
  • Loading branch information
jamiewalch@google.com committed Sep 16, 2011
1 parent 2079e8f commit 91f8feb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions remoting/host/disconnect_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 91f8feb

Please sign in to comment.