Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 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;
     }
 }