tagomoris / right_speed

MIT License
15 stars 1 forks source link

TypeError for Logger instances when logger.dup #1

Open tagomoris opened 3 years ago

tagomoris commented 3 years ago

The error below happens on this code. This was fixed by this change.

<internal:ractor>:267:in `new': allocator undefined for Proc (TypeError)
    from lib/right_speed.rb:62:in `block in main'
    from lib/right_speed.rb:62:in `times'
    from lib/right_speed.rb:62:in `each'
    from lib/right_speed.rb:62:in `map'
    from lib/right_speed.rb:62:in `main'
    from lib/right_speed.rb:44:in `start'
    from lib/right_speed.rb:145:in `<main>'