mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
Merge pull request #399 from the-eater/fix-segfault-on-exit
check is drm_release_manager is set before cleaning up to avoid segfault
This commit is contained in:
commit
08097b0991
1 changed files with 3 additions and 1 deletions
|
|
@ -1964,7 +1964,9 @@ void cleanuplisteners(void) {
|
|||
wl_list_remove(&request_start_drag.link);
|
||||
wl_list_remove(&start_drag.link);
|
||||
wl_list_remove(&new_session_lock.link);
|
||||
wl_list_remove(&drm_lease_request.link);
|
||||
if (drm_lease_manager) {
|
||||
wl_list_remove(&drm_lease_request.link);
|
||||
}
|
||||
wl_list_remove(&tearing_new_object.link);
|
||||
#ifdef XWAYLAND
|
||||
wl_list_remove(&new_xwayland_surface.link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue