summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared/push.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-12-09 15:48:39 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2024-12-09 16:20:01 -0500
commit0c9c6efc20dd2fefbebb8a6a0d39952ffd425e33 (patch)
tree071d178c61f8f206c842031633bb6b4eb890feeb /spec/ruby/core/array/shared/push.rb
parent476d655053b0e3ea447dc6549b821d18636c6603 (diff)
Add missing fiber nil check to avoid slow rb_check_funcall()
Check for nil like other callers of rb_fiber_scheduler_current().
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12298
Diffstat (limited to 'spec/ruby/core/array/shared/push.rb')
0 files changed, 0 insertions, 0 deletions