mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 05:50:10 +01:00
xwm: remove the create surface listener in weston_wm_destroy
Failing to remove this can result in a crash when the signal is sent after the window manager is destroyed. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-By: Giulio Camuffo <giuliocamuffo@gmail.com>
This commit is contained in:
parent
82cc25b986
commit
f10e06c77a
1 changed files with 1 additions and 0 deletions
|
|
@ -2229,6 +2229,7 @@ weston_wm_destroy(struct weston_wm *wm)
|
||||||
wl_list_remove(&wm->activate_listener.link);
|
wl_list_remove(&wm->activate_listener.link);
|
||||||
wl_list_remove(&wm->kill_listener.link);
|
wl_list_remove(&wm->kill_listener.link);
|
||||||
wl_list_remove(&wm->transform_listener.link);
|
wl_list_remove(&wm->transform_listener.link);
|
||||||
|
wl_list_remove(&wm->create_surface_listener.link);
|
||||||
|
|
||||||
free(wm);
|
free(wm);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue