nashaofu / xcap

XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented).
https://docs.rs/xcap
Apache License 2.0
491 stars 58 forks source link

MacOS screenshare indicator is stuck #97

Open tarushnagpal opened 9 months ago

tarushnagpal commented 9 months ago

Hi, I captured all the windows available and showed a preview to the user but for some reason the mac screenshare indicator did not go away

Screenshot 2024-01-31 at 11 33 32 AM

Is this something to do with GC where I need to release the image? Could not find such a thing in the readme