Commit c4682cd9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Allow completing non-alerted asyncs with STATUS_PENDING.

parent 0f332fc0
......@@ -390,14 +390,11 @@ void async_set_result( struct object *obj, unsigned int status, apc_param_t tota
assert( async->terminated ); /* it must have been woken up if we get a result */
if (status == STATUS_PENDING) /* restart it */
if (async->alerted && status == STATUS_PENDING) /* restart it */
{
if (async->alerted)
{
async->terminated = 0;
async->alerted = 0;
async_reselect( async );
}
async->terminated = 0;
async->alerted = 0;
async_reselect( async );
}
else
{
......
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