Skip to content

Remove unnecessary mrb_gc_arena_restore()#6351

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:io-arena
Sep 10, 2024
Merged

Remove unnecessary mrb_gc_arena_restore()#6351
matz merged 1 commit into
mruby:masterfrom
dearblue:io-arena

Conversation

@dearblue

Copy link
Copy Markdown
Contributor

When a function defined as a method returns, there is no need to call mrb_gc_arena_restore() immediately before it.

When a function defined as a method returns, there is no need to call `mrb_gc_arena_restore()` immediately before it.
@dearblue
dearblue requested a review from matz as a code owner September 10, 2024 13:04
@matz
matz merged commit 9aee23b into mruby:master Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants