summaryrefslogtreecommitdiffstats
path: root/remoting/host/disconnect_window_win.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 20:54:47 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 20:54:47 +0000
commit970fb675f98ba3f0a243d1f9f0e9ab8b15f7ac45 (patch)
treeb61657e7ada88ee55f40870338c045ae91289afc /remoting/host/disconnect_window_win.cc
parentef3b6f3ef05e7dec8dab10c82e3cdc44e60c9fc4 (diff)
downloadchromium_src-970fb675f98ba3f0a243d1f9f0e9ab8b15f7ac45.zip
chromium_src-970fb675f98ba3f0a243d1f9f0e9ab8b15f7ac45.tar.gz
chromium_src-970fb675f98ba3f0a243d1f9f0e9ab8b15f7ac45.tar.bz2
Cleanups in the host shutdown logic and some minor fixes.
- replaced me2mom with it2me, - Remove refcounting in HostStatusObserver, - Cleanup shutdown logic in ChromotingHost, - Cleanup shutdown logic in host plugin, particularly it now uses main host thread instead of the plugin thread to start/stop the host. BUG=None TEST=Don't crash when closing a tab. Review URL: http://codereview.chromium.org/7182005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/disconnect_window_win.cc')
-rw-r--r--remoting/host/disconnect_window_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/disconnect_window_win.cc b/remoting/host/disconnect_window_win.cc
index 80bc9d4..09f6b16 100644
--- a/remoting/host/disconnect_window_win.cc
+++ b/remoting/host/disconnect_window_win.cc
@@ -98,7 +98,7 @@ BOOL DisconnectWindowWin::OnDialogMessage(HWND hwnd, UINT msg,
case IDC_DISCONNECT:
{
CHECK(host_);
- host_->Shutdown();
+ host_->Shutdown(NULL);
EndDialog(hwnd, LOWORD(wParam));
hwnd_ = NULL;
}