diff --git a/src/frame/capturer/wayland.rs b/src/frame/capturer/wayland.rs index f79b00a..144a0fb 100644 --- a/src/frame/capturer/wayland.rs +++ b/src/frame/capturer/wayland.rs @@ -420,6 +420,8 @@ impl Dispatch for Capturer { ); frame.copy(&buffer); + buffer.destroy(); + state.pending_frame = Some(pending_frame); }