You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Make sure the class variable op_count is initialized
When run Reactor in the single thread mode, skips the Initialization of
the @op_count.
```
NoMethodError: undefined method '-' for nil
lib/crystalruby/reactor.rb:133:in 'CrystalRuby::Reactor.gc_due?'
lib/crystalruby/reactor.rb:121:in 'CrystalRuby::Reactor.invoke_gc_if_due!'
lib/crystalruby/reactor.rb:199:in 'CrystalRuby::Reactor.schedule_work!'
lib/crystalruby/function.rb:73:in 'block (2 levels) in TestTime#define_crystallized_methods!'
test/types/test_time.rb:30:in 'TestTime#test_it_can_do_time_math'`
```
0 commit comments