Fix stream not closing properly when exiting app

This commit is contained in:
loki
2020-04-16 15:35:12 +02:00
parent 0b1a69a067
commit c7d6e959e0
3 changed files with 6 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ struct x11_attr_t : public display_t {
if(width != xattr.width || height != xattr.height) {
return capture_e::reinit;
}
XImage *img { XGetImage(
xdisplay.get(),
xwindow,