[PATCH 1/2] server: Store async list in process object and use that to find async in cansel_async request.

Alexandre Julliard julliard at winehq.org
Wed Nov 30 09:27:57 CST 2016


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -614,6 +615,7 @@ static void process_destroy( struct object *obj )
>  
>      /* we can't have a thread remaining */
>      assert( list_empty( &process->thread_list ));
> +    assert( list_empty( &process->asyncs ));

I don't think that this is guaranteed, I believe that there can still be
asyncs in the queues of shared files. We'd probably need to clear them
explicitly at process exit.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list