Need to unshare env on OP_R_BREAK too.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-07-21 10:57:21 +09:00
parent 5fee3f5869
commit 1c360965e7
+1
View File
@@ -2051,6 +2051,7 @@ RETRY_TRY_BLOCK:
}
ci--;
}
mrb_env_unshare(mrb, ci->env);
break;
default:
/* cannot happen */