threadshare: Don't keep timers locked while waiting for IO

This commit is contained in:
Sebastian Dröge 2019-09-09 13:55:56 +03:00
parent 5f9d649021
commit e7053bc046

View file

@ -184,6 +184,7 @@ impl IOContextRunner {
}
}),
};
drop(timers);
gst_trace!(CONTEXT_CAT, "Sleeping for up to {:?}", wait);
current_thread.enter(enter).turn(wait).unwrap();