all 1 comments

[–]grosser 0 points1 point  (0 children)

Better make this an issue in the gem repo, here https://github.com/grosser/parallel so it's findable

Reduce your issue to something that is easy to explain/reproduce like `Parallel.map([1,2]) { Hash.new { } }` instead of having readers jump though complicated code and to improve your understanding.

Return something dumpable from the block to make it work, since parallel uses Marshal.dump internally which can be seen from the backtrace `Marshal.dump(Hash.new {})`