Commit f6b0ce3c authored by Alexandre Julliard's avatar Alexandre Julliard

server: Don't queue low-level hooks to a hung queue.

parent 457a8478
...@@ -1405,6 +1405,7 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa ...@@ -1405,6 +1405,7 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa
if (!(hook_thread = get_first_global_hook( id ))) return 0; if (!(hook_thread = get_first_global_hook( id ))) return 0;
if (!(queue = hook_thread->queue)) return 0; if (!(queue = hook_thread->queue)) return 0;
if (is_queue_hung( queue )) return 0;
if (!(msg = mem_alloc( sizeof(*msg) ))) return 0; if (!(msg = mem_alloc( sizeof(*msg) ))) return 0;
......
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