Destroy wl_registry on exit
parent
0268b52c53
commit
e5272618ba
|
@ -252,6 +252,7 @@ void wayvnc_destroy(struct wayvnc* self)
|
||||||
if (self->screencopy.manager)
|
if (self->screencopy.manager)
|
||||||
zwlr_screencopy_manager_v1_destroy(self->screencopy.manager);
|
zwlr_screencopy_manager_v1_destroy(self->screencopy.manager);
|
||||||
|
|
||||||
|
wl_registry_destroy(self->registry);
|
||||||
wl_display_disconnect(self->display);
|
wl_display_disconnect(self->display);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue