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 {