Skip to content

jextract/jni: use deferEnvironment instead of environment interface#437

Merged
ktoso merged 1 commit into
swiftlang:mainfrom
ktoso:wip-async-env
Nov 12, 2025
Merged

jextract/jni: use deferEnvironment instead of environment interface#437
ktoso merged 1 commit into
swiftlang:mainfrom
ktoso:wip-async-env

Conversation

@ktoso
Copy link
Copy Markdown
Collaborator

@ktoso ktoso commented Nov 12, 2025

in defer that's destroying refs to objects.

Slightly cleaner, though where we get the .interface doesn't matter as much

@ktoso
Copy link
Copy Markdown
Collaborator Author

ktoso commented Nov 12, 2025

wdyt @madsodgaard ?

Copy link
Copy Markdown
Contributor

@madsodgaard madsodgaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is probably the most correct way

@ktoso ktoso merged commit 4669958 into swiftlang:main Nov 12, 2025
48 checks passed
@ktoso ktoso deleted the wip-async-env branch November 12, 2025 05:17
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.

2 participants