mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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
This commit is contained in:
parent
13ea7a8761
commit
2e315baf48
4 changed files with 13 additions and 3 deletions
1
vm.c
1
vm.c
|
@ -2518,6 +2518,7 @@ th_init(rb_thread_t *th, VALUE self)
|
|||
th->retval = Qundef;
|
||||
#endif
|
||||
th->name = Qnil;
|
||||
th->report_on_exception = th->vm->thread_report_on_exception;
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue