public virtual void Dispose(bool disposing) { if (myLibVlcDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibVlcDllHandle); myLibVlcDllHandle = IntPtr.Zero; } if (myLibVlcCoreDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibVlcCoreDllHandle); myLibVlcCoreDllHandle = IntPtr.Zero; } if (myLibGccDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibGccDllHandle); myLibGccDllHandle = IntPtr.Zero; } }
void IDisposable.Dispose() { if (myLibVlcDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibVlcDllHandle); myLibVlcDllHandle = IntPtr.Zero; } if (myLibVlcCoreDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibVlcCoreDllHandle); myLibVlcCoreDllHandle = IntPtr.Zero; } if (myLibGccDllHandle != IntPtr.Zero) { Win32Interops.FreeLibrary(myLibGccDllHandle); myLibGccDllHandle = IntPtr.Zero; } }