mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-25 08:06:30 +00:00

The Wayland display server has a graph for presentation times, but the backend shuts down after the overlays, so calling overlayGraph_unregister causes memory corruption. We can avoid this problem by making unregister a noop after all graphs have been freed. This is safe because updating the graph doesn't use the graph handle: instead you update the ringbuffer which is owned by the user.