Skip to content

Add a precondition to call mrb_env_unshare().#6330

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:mrb_env_unshare
Aug 24, 2024
Merged

Add a precondition to call mrb_env_unshare().#6330
matz merged 1 commit into
mruby:masterfrom
dearblue:mrb_env_unshare

Conversation

@dearblue

Copy link
Copy Markdown
Contributor

The following assertions can be added to omit the if block

  • env object must be non-null
  • env object must be in a shared state with the stack

The current caller is believed to satisfy the condition.

The following assertions can be added to omit the `if` block

  - env object must be non-null
  - env object must be in a shared state with the stack

The current caller is believed to satisfy the condition.
@dearblue dearblue requested a review from matz as a code owner August 24, 2024 08:41
@github-actions github-actions Bot added the core label Aug 24, 2024
@matz matz merged commit a2db222 into mruby:master Aug 24, 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