[Spice-commits] vdservice/vdservice.cpp
Arnon Gilboa
agilboa at kemper.freedesktop.org
Tue Mar 12 03:48:18 PDT 2013
vdservice/vdservice.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c1807e804046f98a14cfc3e4f7ef8e08cf31ee61
Author: Arnon Gilboa <agilboa at redhat.com>
Date: Tue Feb 26 17:58:44 2013 +0200
vdservice: reset vdagent stop event after wait
vdagent terminates when the global event is set by vdservice. vdservice is also
responsible to reset the event in any case, without trusting vdagent to do so.
Otherwise, it may terminate the following vdagent instance immediately as well.
Regression was due to commit 2d03cc.
rhbz #868254
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));
More information about the Spice-commits
mailing list