From 2e315baf48b7c06d487cf6082e82377e93442bc7 Mon Sep 17 00:00:00 2001 From: eregon Date: Thu, 14 Dec 2017 13:08:02 +0000 Subject: The main Thread should have report_on_exception=true for consistency * Adapt test and add specs. * See [Feature #14143] [ruby-core:84227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 96e6c360c4..5ff387cd43 100644 --- a/thread.c +++ b/thread.c @@ -743,7 +743,6 @@ thread_create_core(VALUE thval, VALUE args, VALUE (*fn)(ANYARGS)) RBASIC_CLEAR_CLASS(th->pending_interrupt_mask_stack); native_mutex_initialize(&th->interrupt_lock); - th->report_on_exception = th->vm->thread_report_on_exception; /* kick thread */ err = native_thread_create(th); -- cgit v1.2.3