Clean up gbm device on exit

pull/55/head
Andri Yngvason 2020-07-06 17:37:19 +00:00
parent 4c14c11de4
commit cd7594320b
1 changed files with 1 additions and 0 deletions

View File

@ -804,6 +804,7 @@ int main(int argc, char* argv[])
zwp_linux_dmabuf_v1_destroy(zwp_linux_dmabuf);
if (self.screencopy.manager)
screencopy_destroy(&self.screencopy);
gbm_device_destroy(gbm_device);
wayvnc_destroy(&self);
aml_unref(aml);