Skip to content

backend: Clean up renderer after clutter backend

Ray Strode requested to merge fix--replace into main

commit c4a73e79 added code to cleanup the renderer when the meta backend is disposed. Unfortunately, this introduced a crash when the window manager is replaced.

This is because cleaning up the renderer involves talking to the X server over a display connection that's closed two lines higher as part of the clutter_backend_destroy call.

This commit fixes the crash by swapping their order.

Edited by Ray Strode

Merge request reports