jacobbo / WebEye

WebEye is a collection of .NET controls.
190 stars 132 forks source link

FreeLibrary doesn't seem to be working #56

Open blarroqu opened 5 years ago

blarroqu commented 5 years ago

Hi, I use StreamPlayerControl in WPF app with MVVM.

I have an issue with the Dispose method in StreamPlayerProxy.cs. It seems to be the FreeLibrary doesn't work and it results with an UnauthorizedAccessException on File.Delete when I catch it. So each time I switch in TabControl's StreamPlayer, a new File is created and the older is not deleted.

jacobbo commented 5 years ago

Hello, would you please attach a minimal project that reproduces the issue?

On Mon, 2 Sep 2019 at 15:06, blarroqu notifications@github.com wrote:

Hi, I use StreamPlayerControl in WPF app with MVVM.

I have an issue with the Dispose method in StreamPlayerProxy.cs. It seems to be the FreeLibrary doesn't work and it results with an UnauthorizedAccessException on File.Delete when I catch it. So each time I switch in TabControl's StreamPlayer, a new File is created and the older is not deleted.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jacobbo/WebEye/issues/56?email_source=notifications&email_token=AAN57QDDYLAMPTUVMDCU3NDQHUMYDA5CNFSM4IS52UIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIZOZLQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAN57QF3K527DY3AXRETCXTQHUMYDANCNFSM4IS52UIA .