summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/host/win/unprivileged_process_delegate.cc1
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);