Skip to content

[go1.20] Update runtime_beforeExit to have exit code parameter. #1281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

grantnelson-wf
Copy link
Collaborator

@grantnelson-wf grantnelson-wf commented Mar 26, 2024

Between go1.19 (here) and go1.20 (here), the os link to the runtime beforeExit got a parameter containing the exitCode. Since a JS app doesn't shutdown like an executable, this method was no-op'ed in the native overrides.

This PR is just to add that missing parameter. This is part of #1270.

@grantnelson-wf grantnelson-wf marked this pull request as ready for review March 26, 2024 21:54
@nevkontakte nevkontakte merged commit 0285af6 into gopherjs:go1.20 Apr 1, 2024
@grantnelson-wf grantnelson-wf deleted the fixRuntimeBeforeExit branch April 2, 2024 18:05
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