mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-13 13:29:47 -05:00
compositor: Use a virtual destructor when shutting down
Backend can now rely on their destroy function getting called on shutdown, so reset tty etc there instead of handling SIGTERM twice.
This commit is contained in:
parent
50dc6989b8
commit
caa6442556
5 changed files with 31 additions and 16 deletions
|
|
@ -1452,5 +1452,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
wl_display_destroy(display);
|
||||
|
||||
ec->destroy(ec);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue