forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass the default ALC gchandle to the v3 preload hook (dotnet#54686)
* Pass the default ALC gchandle to the v3 preload hook Fixes crashes early during startup when the gchandle is then used by the hooks to call mono API functions. The default ALC exists, but its managed object doesn't, so the gchandle target is null. The mono APIs detect the the special gchandle and resolve it to the default ALC Example crash https://gist.github.com/grendello/b4ab24587a055725cc5e1416b86ad7ca * [alc] Assert that we never see a null target from a managed ALC gchandle
- Loading branch information
1 parent
c88da29
commit db9cfd2
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters