lib/dcell/celluloid_ext.rb in dcell-0.16.0.pre vs lib/dcell/celluloid_ext.rb in dcell-0.16.0
- old
+ new
@@ -31,10 +31,10 @@
mailbox = ::Celluloid::Mailbox._load(string)
case mailbox
when ::DCell::MailboxProxy
actor = ::DCell::Actor.new(mailbox)
- ::DCell::ActorProxy.new actor
+ ::DCell::ActorProxy.new actor, mailbox
when ::Celluloid::Mailbox
actor = find_actor(mailbox)
::Celluloid::ActorProxy.new(actor)
else ::Kernel.raise "funny, I did not expect to see a #{mailbox.class} here"
end