ts: fix kqueue reactor

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2288>
This commit is contained in:
François Laignel 2025-06-12 07:37:49 +02:00
parent d156d8950f
commit 69ff3ae6c7

View file

@ -35,7 +35,7 @@ impl Registration {
///
/// The provided file descriptor must be valid and not be closed while this object is alive.
pub(crate) unsafe fn new(f: BorrowedFd<'_>) -> Self {
Self::Fd(f.as_raw_fd())
Self { raw: f.as_raw_fd() }
}
/// Registers the object into the reactor.