Fix stream not closing properly when exiting app
This commit is contained in:
parent
0b1a69a067
commit
c7d6e959e0
3 changed files with 6 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue