diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-14 13:08:02 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-14 13:08:02 +0000 |
commit | 2e315baf48b7c06d487cf6082e82377e93442bc7 (patch) | |
tree | 2aa7dce3d3326c0b2f4ef53962e1ab958449588a /vm.c | |
parent | 13ea7a876159ef67d57a90e2020e28cb6082e580 (diff) | |
download | ruby-2e315baf48b7c06d487cf6082e82377e93442bc7.tar.gz |
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
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |