/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs	2012/06/20 12:16:34	398
+++ trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs	2012/06/20 13:24:49	399
@@ -375,7 +375,8 @@
                 // unmanaged resources here.
                 // If disposing is false,
                 // only the following code is executed.
-                CloseProvider();
+                if (!isClosed)
+                    CloseProvider();
                 // Note disposing has been done.
                 disposed = true;
 

 

  ViewVC Help
Powered by ViewVC 1.1.22