[][src]Function hl_capture::capture::stop_encoder

fn stop_encoder(
    encoder: Option<Encoder>,
    event_sender: &Sender<GameThreadEvent>
)

Properly closes and drops the encoder.