You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Media: Internally keep a reference to the last set Media
libvlc_media_player_get_media increments the ref count of the media, which may easily
cause a memory leak, as this is very unusual behavior for C# property getter to
have these types of consequences. Users don't have the reflex to dispose every Media returned
by the getter property.
Holding a ref internally in the mediaplayer prevents from incrementing the native ref count
of the media object.
https://code.videolan.org/videolan/LibVLCSharp/-/issues/442
0 commit comments