summaryrefslogtreecommitdiff
path: root/vdservice/vdservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vdservice/vdservice.cpp')
-rw-r--r--vdservice/vdservice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp
index a899ae1..90a3b26 100644
--- a/vdservice/vdservice.cpp
+++ b/vdservice/vdservice.cpp
@@ -801,6 +801,7 @@ bool VDService::kill_agent()
break;
}
}
+ ResetEvent(_agent_stop_event);
CloseHandle(proc_handle);
CloseHandle(_agent_proc_info.hThread);
ZeroMemory(&_agent_proc_info, sizeof(_agent_proc_info));