Skip to content

client: Improve handling of event queue destruction with attached proxies

This MR improves our handling of premature destruction of event queues, which can lead to hard to diagnose memory errors, by:

  1. Warning the user of this error in destruction order
  2. Aborting instead of causing a use-after-free memory error, if an attempt is made to add events to a destroyed queue

Plus tests for the above.

Signed-off-by: Alexandros Frantzis alexandros.frantzis@collabora.com

Edited by Alexandros Frantzis

Merge request reports