Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BridgeJS: Fix double-release of JSObject when passing a JSObject? JS->Swift#636

Merged
krodak merged 3 commits into
mainswiftwasm/JavaScriptKit:mainfrom
yt/fix-opt-jsobject-double-releaseswiftwasm/JavaScriptKit:yt/fix-opt-jsobject-double-releaseCopy head branch name to clipboard
Feb 16, 2026
Merged

BridgeJS: Fix double-release of JSObject when passing a JSObject? JS->Swift#636
krodak merged 3 commits into
mainswiftwasm/JavaScriptKit:mainfrom
yt/fix-opt-jsobject-double-releaseswiftwasm/JavaScriptKit:yt/fix-opt-jsobject-double-releaseCopy head branch name to clipboard

Conversation

@kateinoigakukun

@kateinoigakukun kateinoigakukun commented Feb 16, 2026

Copy link
Copy Markdown
Member

JSObject.bridgeJSLiftParameter takes the ownership of the object id, so caller side should not release it. BridgeJSLink for some reaons inserted a release only for JSObject?, but it causes a double release when passing a JSObject? from JS to Swift.

@krodak krodak merged commit 2c51958 into main Feb 16, 2026
11 checks passed
@krodak krodak deleted the yt/fix-opt-jsobject-double-release branch February 16, 2026 09:50
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.