Skip to content

Commit

Permalink
Clear |event_handler_| in UnprivilegedProcessDelegate::KillProcess() …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
alexeypa@chromium.org committed May 23, 2013
1 parent 2f3c40c commit fabf58d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions remoting/host/win/unprivileged_process_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ void UnprivilegedProcessDelegate::KillProcess() {
DCHECK(CalledOnValidThread());

channel_.reset();
event_handler_ = NULL;

if (worker_process_.IsValid()) {
TerminateProcess(worker_process_, CONTROL_C_EXIT);
Expand Down

0 comments on commit fabf58d

Please sign in to comment.