msg loop tweaks & intptr cleanup.

This commit is contained in:
soukoku
2014-09-05 06:56:57 -04:00
parent 19f65642b2
commit 669de30345
8 changed files with 26 additions and 9 deletions

View File

@@ -113,6 +113,7 @@ namespace NTwain
//{
System.Windows.Forms.Application.RemoveMessageFilter(this);
_filter = null;
Handle = IntPtr.Zero;
//});
}
@@ -192,6 +193,7 @@ namespace NTwain
_hooker.RemoveHook(FilterMessage);
_hooker.Dispose();
_hooker = null;
Handle = IntPtr.Zero;
}
}
}