Commit ce2080ac authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

rpcrt4: Hold CS while iterating through protseqs list.

parent fa1fd466
......@@ -806,8 +806,10 @@ static RPC_STATUS RPCRT4_stop_listen(BOOL auto_listen)
if (stop_listen) {
RpcServerProtseq *cps;
EnterCriticalSection(&server_cs);
LIST_FOR_EACH_ENTRY(cps, &protseqs, RpcServerProtseq, entry)
RPCRT4_sync_with_server_thread(cps);
LeaveCriticalSection(&server_cs);
}
if (!auto_listen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment