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

This commit is contained in:
Alexandre Julliard 2011-06-17 11:54:43 +02:00
parent 457a847849
commit f6b0ce3c44
1 changed files with 1 additions and 0 deletions

View File

@ -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 (!(queue = hook_thread->queue)) return 0;
if (is_queue_hung( queue )) return 0;
if (!(msg = mem_alloc( sizeof(*msg) ))) return 0;