gst-plugins-rs/generic
François Laignel 1be30b8ecc ts/scheduler: fix shutdown
A strong handle reference was held in the `block_on_priv` `Result`
handler in the thread for the `Scheduler::start` code path, which
lead to the `Handler` strong count not dropping to 0 when it
should, leading to the shutdown request not being triggered.

Use an Arc<AtomicBool> instead of a oneshot channel for shutdown.
The main Future is always polled and never relies on a waker, a
`poll_fn` is cheap and does the job.

Unpark the scheduler after posting a request to shutdown.
2022-09-13 07:29:50 +00:00
..
file Update minimum supported Rust version to 1.63 2022-09-04 21:31:55 +03:00
fmp4 Update for GLib ParamSpec builder API changes 2022-09-05 11:45:47 +03:00
sodium Update for GLib ParamSpec builder API changes 2022-09-05 11:45:47 +03:00
threadshare ts/scheduler: fix shutdown 2022-09-13 07:29:50 +00:00