Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Null Reference Exception When Disposing Many Viewers At Once #639

Closed
Nickprovs opened this issue May 5, 2020 · 3 comments
Closed

Null Reference Exception When Disposing Many Viewers At Once #639

Nickprovs opened this issue May 5, 2020 · 3 comments

Comments

@Nickprovs
Copy link

I have an issue about Vlc.DotNet.

Generic information

  • Vlc.DotNet version : 3.0.0
  • Vlc.DotNet project used : (WPF)
  • libvlc version : 3.0.8.0 - x64 + From VLC Media Player Directory
  • .net version : 4.5.2
  • Project language : C#
  • Project build architecture : AnyCPU
  • Operating system : Windows 10 x64

Summary

Launched 6-9 (no joke -- that's just the range I tested) RTMP streams in a grid. Then, on button press -- dispose of them. This exception seems to intermittently occur.

Odd

  • [ X] I confirm that my issue doesn't happen in VLC itself.

If I add a null check in the fire-and-forget action -- I never get the exception again.
MaybeFix

@jeremyVignelles
Copy link
Collaborator

Hi,
Can you open a PR for this one and #640 ?

Good finding 🙂

@Nickprovs
Copy link
Author

Thanks! Added a PR for #639 and #640 .

PR at #641

@jeremyVignelles
Copy link
Collaborator

Fixed by #641 in v 3.1.0-develop372

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants