mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend: introduce wlr_backend_finish
This new functions cleans up the common backend state. While this currently only emits the destroy signal, this will also clean up the renderer and allocator in upcoming patches.
This commit is contained in:
parent
beae3018cb
commit
7ec5bf6b10
9 changed files with 16 additions and 7 deletions
|
|
@ -67,7 +67,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
|
|||
wlr_input_device_destroy(&input_device->wlr_input_device);
|
||||
}
|
||||
|
||||
wlr_signal_emit_safe(&wlr_backend->events.destroy, backend);
|
||||
wlr_backend_finish(wlr_backend);
|
||||
|
||||
free(backend->format);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue