diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-05 19:18:03 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-05 19:48:00 +0900 |
| commit | 6c5a808b865906bc6baa2593e4f0b438af3f01cf (patch) | |
| tree | 6140bc72e541d262fb5e9d7b133b2f7c3342b3af /include/ruby/internal/encoding/transcode.h | |
| parent | cb1c79e87b0711230a333ee629aba24e06f530d0 (diff) | |
Use rb_fiber_scheduler_get() instead of rb_fiber_scheduler_current()
rb_fiber_scheduler_current() may return nil depending on whether the
scheduler is being prevented for some reason, e.g., Fiber.blocking{}.
Co-Authored-By: Samuel Williams <samuel.williams@oriontransfer.co.nz>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12001
Diffstat (limited to 'include/ruby/internal/encoding/transcode.h')
0 files changed, 0 insertions, 0 deletions
