From b004d3e8300ba803d4a499148fa4fc6a690149e6 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Thu, 8 Aug 2019 17:53:36 +0900 Subject: 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] --- vm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 8d5d85610d..3fa0b16f5b 100644 --- a/vm.c +++ b/vm.c @@ -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) -- cgit v1.2.3