Skip to content

Conversation

@swaroop-sridhar
Copy link
Contributor

Summary

  • Note that NativeLibrary.Load() etc. must return the actual OS handle
  • Note that AssemblyLoadContext.LoadUnmanagedDllFromPath() also returns the OS handle
    (also fix its exceptions).

- Note that `NativeLibrary.Load()` etc. must return the actual OS handle
- Note that `AssemblyLoadContext.LoadUnmanagedDllFromPath()` also returns the OS handle
  (also fix its exceptions).
Copy link
Contributor

@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @swaroop-sridhar for your PR. Left a couple of suggestions.

@bartonjs, @joperezr can you review the changes?

@mairaw mairaw requested review from bartonjs and joperezr October 9, 2019 06:25
@mairaw mairaw added this to the October 2019 milestone Oct 9, 2019
swaroop-sridhar and others added 4 commits October 9, 2019 00:18
Co-Authored-By: Maira Wenzel <mairaw@microsoft.com>
Co-Authored-By: Maira Wenzel <mairaw@microsoft.com>
Co-Authored-By: Maira Wenzel <mairaw@microsoft.com>
Co-Authored-By: Maira Wenzel <mairaw@microsoft.com>
Copy link
Member

@bartonjs bartonjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the comments in dotnet/coreclr#27090, seems good to me.

@swaroop-sridhar
Copy link
Contributor Author

@mairaw I've applied the changes you suggested. Thanks.

Copy link
Contributor

@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @swaroop-sridhar!

@mairaw mairaw merged commit 9c734f4 into dotnet:master Oct 11, 2019
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.

4 participants