diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-08-08 17:53:36 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-08-08 17:56:04 +0900 |
commit | b004d3e8300ba803d4a499148fa4fc6a690149e6 (patch) | |
tree | f382c3c32ba64c95b53aaf45b7c2f296ae3d6a06 /vm.c | |
parent | 20cb8e8aeab916d659c0359a35687bb8df1f31a6 (diff) |
solve "duplicate :raise event" [Bug #15877]
Without this patch, "raise" event invoked twice when raise an
exception in "load"ed script.
This patch by danielwaterworth (Daniel Waterworth).
[Bug #15877]
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1487,7 +1487,6 @@ rb_vm_make_jump_tag_but_local_jump(int state, VALUE val) return make_localjump_error(mesg, val, state); } -#if 0 void rb_vm_jump_tag_but_local_jump(int state) { @@ -1495,7 +1494,6 @@ rb_vm_jump_tag_but_local_jump(int state) if (!NIL_P(exc)) rb_exc_raise(exc); EC_JUMP_TAG(GET_EC(), state); } -#endif static rb_control_frame_t * next_not_local_frame(rb_control_frame_t *cfp) |