Destroy display in server_fini

This commit is contained in:
emersion 2018-04-17 23:15:11 +01:00
parent dbc36935ee
commit 7114451607
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -125,7 +125,8 @@ bool server_init(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) {