diff --git a/ChangeLog b/ChangeLog index f8e877077c..7481ca3121 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 19 15:53:21 2015 Koichi Sasada + + * signal.c: should also clear ruby_disable_gc. + [Bug #11692] + Thu Nov 19 15:31:45 2015 Koichi Sasada * compile.c (iseq_compile_each): T_IMEMO/iseq objects should be diff --git a/signal.c b/signal.c index 9b3153d99d..d413bac38c 100644 --- a/signal.c +++ b/signal.c @@ -752,7 +752,7 @@ rb_get_next_signal(void) #if defined SIGSEGV || defined SIGBUS || defined SIGILL || defined SIGFPE static const char *received_signal; -# define clear_received_signal() (void)(received_signal = 0) +# define clear_received_signal() (void)(ruby_disable_gc = 0, received_signal = 0) #else # define clear_received_signal() ((void)0) #endif