Branch: Tag:

2021-05-04

2021-05-04 14:19:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/stalled-handler-queue-old' into patches/stalled-handler-queue

* patches/stalled-handler-queue-old:
Handlers: Fix issue causing handlers to be put on hold.

746:   // if (!busy_threads) werror ("GC: %d\n", gc());    cache_clear_deltas();    THREAD_WERR("Handle thread ["+id+"] waiting for next event"); -  if(arrayp(h = low_handle_queue->read()) && h[0]) { +  if(arrayp(h = low_handle_queue->read())) { +  if (!h[0]) { +  THREAD_WERR(sprintf("Handle thread [%O] got NULL callback: %s", +  id, debug_format_queue_task(h))); +  continue; +  }    THREAD_WERR(sprintf("Handle thread [%O] calling %s",    id, debug_format_queue_task (h)));    set_locale();