Use valid ec for postponed job.
ec
Postponed job can be registered from non-Ruby thread, which means ec in TLS can be NULL. In this case, use main thread's ec instead.
See https://github.com/ruby/ruby/pull/4108 and https://github.com/ruby/ruby/pull/4336
Use valid
ecfor postponed job.Postponed job can be registered from non-Ruby thread, which means
ecin TLS can be NULL. In this case, use main thread'secinstead.See https://github.com/ruby/ruby/pull/4108
and https://github.com/ruby/ruby/pull/4336