diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 20:15:57 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 20:15:57 +0000 |
commit | b2838fdae1dfab70744c7c2423bd0fa655462bb1 (patch) | |
tree | d072342f8f1be71cb6ba8bb7287253a3bf611e98 /remoting/host/curtain_mode_mac.cc | |
parent | f6263b95919a63cc23e13c788e5705f02b21893c (diff) | |
download | chromium_src-b2838fdae1dfab70744c7c2423bd0fa655462bb1.zip chromium_src-b2838fdae1dfab70744c7c2423bd0fa655462bb1.tar.gz chromium_src-b2838fdae1dfab70744c7c2423bd0fa655462bb1.tar.bz2 |
Fixed disconnect-on-switch-in bug.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11189132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/curtain_mode_mac.cc')
-rw-r--r-- | remoting/host/curtain_mode_mac.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/curtain_mode_mac.cc b/remoting/host/curtain_mode_mac.cc index b80c3db..f6477e7 100644 --- a/remoting/host/curtain_mode_mac.cc +++ b/remoting/host/curtain_mode_mac.cc @@ -134,6 +134,7 @@ bool CurtainModeMac::RemoveEventHandler() { OSStatus result = noErr; if (event_handler_) { result = ::RemoveEventHandler(event_handler_); + event_handler_ = NULL; } return result == noErr; } |