lib/celluloid/actor.rb in celluloid-0.7.1 vs lib/celluloid/actor.rb in celluloid-0.7.2
- old
+ new
@@ -71,10 +71,10 @@
@links = Links.new
@signals = Signals.new
@receivers = Receivers.new
@timers = Timers.new
- @proxy = ActorProxy.new(@mailbox, self.class.to_s)
+ @proxy = ActorProxy.new(@mailbox, subject.class.to_s)
@running = true
@thread = Pool.get do
Thread.current[:actor] = self
Thread.current[:mailbox] = @mailbox