Files
bun.sh/cmake
Claude Bot 31debe497b Fix YogaConfig WeakHandleOwner type mismatch issue
Created separate JSYogaConfigOwner to properly handle YogaConfigImpl objects
instead of incorrectly using JSYogaNodeOwner which expects YogaNodeImpl.

The issue was:
- YogaConfigImpl used jsYogaNodeOwner() WeakHandleOwner
- JSYogaNodeOwner::isReachableFromOpaqueRoots cast context to YogaNodeImpl*
- When called with YogaConfigImpl*, this caused type confusion and potential memory corruption

Fix:
- Created JSYogaConfigOwner with proper YogaConfigImpl handling
- YogaConfigImpl now uses jsYogaConfigOwner() instead of jsYogaNodeOwner()
- JSYogaConfigOwner doesn't use opaque roots (configs don't need them)

Progress:
-  2-3 yoga test files: All combinations work without ASAN errors
-  4+ yoga test files: Still ASAN error, possibly related to yoga-node-extended.test.js

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 11:38:03 +00:00
..
2024-11-15 21:01:55 -08:00
2025-05-31 16:21:08 -07:00