diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 15:09:07 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 15:09:07 +0000 |
commit | fabf58d86c863c6d00bc1bd0f1d12806799ba890 (patch) | |
tree | 4490ad9be8ff733867c06f0a6542ae143a5cfa68 /remoting | |
parent | 2f3c40c69be1ac739f28007f4ae951661f1bdcce (diff) | |
download | chromium_src-fabf58d86c863c6d00bc1bd0f1d12806799ba890.zip chromium_src-fabf58d86c863c6d00bc1bd0f1d12806799ba890.tar.gz chromium_src-fabf58d86c863c6d00bc1bd0f1d12806799ba890.tar.bz2 |
Clear |event_handler_| in UnprivilegedProcessDelegate::KillProcess() so that the object could be reused to launch another process.
BUG=238821
Review URL: https://chromiumcodereview.appspot.com/15747007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/win/unprivileged_process_delegate.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/win/unprivileged_process_delegate.cc b/remoting/host/win/unprivileged_process_delegate.cc index 251a06d..ce65b0f 100644 --- a/remoting/host/win/unprivileged_process_delegate.cc +++ b/remoting/host/win/unprivileged_process_delegate.cc @@ -349,6 +349,7 @@ void UnprivilegedProcessDelegate::KillProcess() { DCHECK(CalledOnValidThread()); channel_.reset(); + event_handler_ = NULL; if (worker_process_.IsValid()) { TerminateProcess(worker_process_, CONTROL_C_EXIT); |