mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-02 14:12:20 +00:00
threadshare: Add FIXME comment for refactoring opportunities
This commit is contained in:
parent
28100d3a63
commit
88933790e7
4 changed files with 4 additions and 0 deletions
|
@ -465,6 +465,7 @@ impl AppSrc {
|
|||
if let (&Some(ref pending_future_id), &Some(ref io_context)) =
|
||||
(pending_future_id, io_context)
|
||||
{
|
||||
// FIXME: This should all go into a helper function
|
||||
let pending_futures = io_context.drain_pending_futures(*pending_future_id);
|
||||
|
||||
if !pending_futures.is_empty() {
|
||||
|
|
|
@ -1031,6 +1031,7 @@ impl ProxySrc {
|
|||
if let (&Some(ref pending_future_id), &Some(ref io_context)) =
|
||||
(pending_future_id, io_context)
|
||||
{
|
||||
// FIXME: This should all go into a helper function
|
||||
let pending_futures = io_context.drain_pending_futures(*pending_future_id);
|
||||
|
||||
if !pending_futures.is_empty() {
|
||||
|
|
|
@ -662,6 +662,7 @@ impl Queue {
|
|||
if let (&Some(ref pending_future_id), &Some(ref io_context)) =
|
||||
(pending_future_id, io_context)
|
||||
{
|
||||
// FIXME: This should all go into a helper function
|
||||
let pending_futures = io_context.drain_pending_futures(*pending_future_id);
|
||||
|
||||
if !pending_futures.is_empty() {
|
||||
|
|
|
@ -406,6 +406,7 @@ impl UdpSrc {
|
|||
if let (&Some(ref pending_future_id), &Some(ref io_context)) =
|
||||
(pending_future_id, io_context)
|
||||
{
|
||||
// FIXME: This should all go into a helper function
|
||||
let pending_futures = io_context.drain_pending_futures(*pending_future_id);
|
||||
|
||||
if !pending_futures.is_empty() {
|
||||
|
|
Loading…
Reference in a new issue