diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2020-09-03 15:51:14 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2020-09-03 17:41:58 -0400 |
| commit | d4585e7470163c794025c2d56930c0e5a5fbae3c (patch) | |
| tree | fd477b8353061503898fe83b4ec4776e42b69236 /spec/ruby/core/array/shared/slice.rb | |
| parent | e0a749c0452f8681451a4510d4f60617a5902b50 (diff) | |
Avoid potential for rb_raise() while crashing
rb_obj_raw_info is called while printing out crash messages and
sometimes called during garbage collection. Calling rb_raise() in these
situations is undesirable because it can start executing ensure blocks.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3512
Diffstat (limited to 'spec/ruby/core/array/shared/slice.rb')
0 files changed, 0 insertions, 0 deletions
