Skip to content

BridgeJS: Fix memory management of SwiftHeapObject#664

Open
kateinoigakukun wants to merge 3 commits intomainfrom
yt/fix-heapobj-ownership
Open

BridgeJS: Fix memory management of SwiftHeapObject#664
kateinoigakukun wants to merge 3 commits intomainfrom
yt/fix-heapobj-ownership

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Feb 19, 2026

bridgeJSLowerParameter and bridgeJSStackPush of _BridgedSwiftHeapObject should +1 refcount because everytime we do those operations, we create wrapper JS instance and they are responsible for -1 for each

Close #661

@kateinoigakukun kateinoigakukun force-pushed the yt/fix-heapobj-ownership branch from f4655ef to afc2088 Compare February 19, 2026 16:01
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.

Flaky CI: FinalizationRegistry callback crashes during process shutdown

1 participant

Comments