we have a ticket for moving this to a macro since it is on the hot path; not sure about macros for akka-actor, though, since that would introduce a new subproject. 


Ciao,

Roland

On 27 jan 2013, at 15:55, Viktor Klang (√) <notifications@github.com> wrote:

> In akka-actor/src/main/scala/akka/actor/dungeon/Dispatch.scala:
> 
> > @@ -98,21 +107,30 @@ private[akka] trait Dispatch { this: ActorCell ⇒
> >    final def stop(): Unit =
> >      try dispatcher.systemDispatch(this, Terminate())
> >      catch {
> > -      case e @ (_: InterruptedException | NonFatal(_)) ⇒
> > +      case e: InterruptedException ⇒
> > +        system.eventStream.publish(Error(e, self.path.toString, clazz(actor), "interrupted during message send"))
> Break this out into a private method to stay DRY?
> 
> —
> Reply to this email directly or view it on GitHub.
>