fixed bug in anon actor
This commit is contained in:
parent
730cc9176a
commit
310742a22d
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ object Actor extends Logging {
|
|||
*
|
||||
*/
|
||||
def actor[A](body: => Unit) = {
|
||||
def handler[A](body: Unit) = new {
|
||||
def handler[A](body: => Unit) = new {
|
||||
def receive(handler: PartialFunction[Any, Unit]) = new Actor() {
|
||||
start
|
||||
body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue