diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-29 00:07:31 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-05-21 22:13:54 +0200 |
commit | 7ec5bf6b10d2a7e1d9cdfdfeed44ac6db8bdcc99 (patch) | |
tree | 4bd0b074f7e87e3b5ef55dd2c79cafb65f2407e7 /backend/multi/backend.c | |
parent | beae3018cbbbbb566e964de63cf04e405b7d8ba5 (diff) |
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.
Diffstat (limited to 'backend/multi/backend.c')
-rw-r--r-- | backend/multi/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index e9ed74ec..7c74959e 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -58,7 +58,7 @@ static void multi_backend_destroy(struct wlr_backend *wlr_backend) { } // Destroy this backend only after removing all sub-backends - wlr_signal_emit_safe(&wlr_backend->events.destroy, backend); + wlr_backend_finish(wlr_backend); free(backend); } |