Skip to content

GStreamer: Cyclic reference dependency between the objects and associated callbacks #455

@tharkum

Description

@tharkum

Need to break cyclic reference dependency between Player/Source and their associated callbacks to release all associated gst resources from PlayerInner , ServoSrc.

https://github.com/servo/media/blob/main/backends/gstreamer/player.rs#L580
PlayerInner and SignalAdapter callbacks (strong references to owner of SignalAdapter)

https://github.com/servo/media/blob/main/backends/gstreamer/player.rs#L682
ServoSrc and its callbacks (strong references to itself)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions