Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue when unloading DismApi #49

Merged
merged 2 commits into from
Jun 19, 2018
Merged

Fix issue when unloading DismApi #49

merged 2 commits into from
Jun 19, 2018

Conversation

jeffkl
Copy link
Owner

@jeffkl jeffkl commented Jun 19, 2018

The code was not setting _hDismApi to IntPtr.Zero after calling FreeLibrary which would cause an exception on any subsequent calls to InitializeEx()

The code was not setting `_hDismApi` to `IntPtr.Zero` after calling `FreeLibrary` which would cause an exception on any subsequent calls to `InitializeEx()`
@jeffkl jeffkl merged commit 320030f into master Jun 19, 2018
@jeffkl jeffkl deleted the fix branch June 19, 2018 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant