Skip to content

Conversation

@Mylloon
Copy link

@Mylloon Mylloon commented Jan 7, 2026

Fix #145

Inspired from nashaofu/xcap#231

This allow to do:

let mut capturer = Capturer::build(Options {/* ... */})?;

// Start capturing
capturer.start_capture();

// Consume all our frames to prevent a memory explosion
let frame_clone = Arc::clone(&old_frame);
spawn(move || {
    capturer; // !!! This move isn't allowed on Windows without Send trait
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Capturer is !Send on Windows.

1 participant