We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e3d587 commit 3ce13beCopy full SHA for 3ce13be
1 file changed
src/pc_pomelo.c
@@ -368,10 +368,12 @@ int pc_client_poll(pc_client_t* client)
368
369
QUEUE_REMOVE(&ev->queue);
370
QUEUE_INIT(&ev->queue);
371
+ pc_mutex_unlock(&client->event_mutex);
372
373
assert((PC_IS_PRE_ALLOC(ev->type) && PC_PRE_ALLOC_IS_BUSY(ev->type)) || PC_IS_DYN_ALLOC(ev->type));
374
375
pc__handle_event(client, ev);
376
+ pc_mutex_lock(&client->event_mutex);
377
}
378
client->is_in_poll = 0;
379
0 commit comments