[release/9.0-staging] Exit the lock before we call into user code and handle losing the race for the RCW table by github-actions[bot] · Pull Request #111162 · dotnet/runtime
and others added 16 commits
January 7, 2025 15:471. Register that we've created a managed object as a wrapper for a COM object first (equivalent to ExtObjCxtCache in CoreCLR) 2. Register the NativeObjectWrapper for lifetime management (equivalent to the sync-block interop info in CoreCLR). This ensures that we have the same behavior as CoreCLR.
… the "RCW address -> wrapper" cache. Use a WeakReference as we don't want to keep the wrapper alive any longer with it being in the cache.
jkoritzinsky
deleted the
backport/pr-110828-to-release/9.0-staging
branch
This file contains hidden or 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