Merge pull request #1819 from emersion/destroy-display

Destroy display in server_fini
This commit is contained in:
Drew DeVault 2018-04-17 18:43:27 -04:00 committed by GitHub
commit d668d57892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,8 @@ bool server_init(struct sway_server *server) {
} }
void server_fini(struct sway_server *server) { void server_fini(struct sway_server *server) {
// TODO // TODO: free sway-specific resources
wl_display_destroy(server->wl_display);
} }
void server_run(struct sway_server *server) { void server_run(struct sway_server *server) {