Skip to content

Commit

Permalink
empty list in static dictionary so that content can be garbage-collected
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Meyer committed Jan 31, 2017
1 parent 93194a9 commit 838cad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Vlc.DotNet.Core/VlcMediaPlayer/VlcMediaPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private void Dispose(bool disposing)
{
loadedMedia.Dispose();
}
VlcMedia.LoadedMedias[this] = new List<VlcMedia>();

myMediaPlayerInstance.Dispose();
Manager.Dispose();
Expand Down

0 comments on commit 838cad5

Please sign in to comment.