mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 17:38:20 +00:00
threadshare: Don't keep timers locked while waiting for IO
This commit is contained in:
parent
5f9d649021
commit
e7053bc046
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ impl IOContextRunner {
|
|||
}
|
||||
}),
|
||||
};
|
||||
drop(timers);
|
||||
|
||||
gst_trace!(CONTEXT_CAT, "Sleeping for up to {:?}", wait);
|
||||
current_thread.enter(enter).turn(wait).unwrap();
|
||||
|
|
Loading…
Reference in a new issue