main: destroy cached SHM buffers *after* terminals have been destroyed

This commit is contained in:
Daniel Eklöf 2019-11-05 09:30:24 +01:00
parent fef07138b3
commit 1c7fb2869d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

4
main.c
View file

@ -228,10 +228,10 @@ main(int argc, char *const *argv)
ret = aborted || tll_length(wayl->terms) == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
out:
shm_fini();
server_destroy(server);
term_destroy(term);
shm_fini();
wayl_destroy(wayl);
fdm_destroy(fdm);