Closed benlangfeld closed 10 years ago
It's likely due to #tap
executing on the caller, which in this case is Reel. The block is crashing, and taking the entire actor with it.
Indeed adding execute_block_on_receiver :tap
to Foo appears to solve the problem. Perhaps this should be a default for Celluloid.
If you don't like this behavior, I'd suggest opening a Celluloid issue rather than a Reel one.
Take an initial working example:
The following happens:
Great! Now tap hard on the Foo (yeah...) and it all goes to hell:
/cc @bklang