Permalink
Browse files

Decode inbound EXIT2 message

  • Loading branch information...
1 parent 0b8c1d7 commit 2bcb17a16a2061f200f4625d34a29a0d4474077f Robert Newson committed Apr 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/scala/scalang/node/ScalaTermDecoder.scala
@@ -91,6 +91,8 @@ class ScalaTermDecoder(peer : Symbol, factory : TypeFactory) extends OneToOneDec
buffer.skipBytes(1)
val msg = readTerm(buffer)
RegSend(from, to, msg)
+ case (8, from : Pid, to : Pid, reason : Any) =>
+ Exit2Message(from, to, reason)
}
}

0 comments on commit 2bcb17a

Please sign in to comment.