summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-receivewithin.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/actor-receivewithin.scala')
-rw-r--r--test/files/jvm/actor-receivewithin.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/jvm/actor-receivewithin.scala b/test/files/jvm/actor-receivewithin.scala
index c6818cf211..a5c87c2722 100644
--- a/test/files/jvm/actor-receivewithin.scala
+++ b/test/files/jvm/actor-receivewithin.scala
@@ -29,6 +29,7 @@ object A extends Actor {
}
}
B ! 'next
+ receive { case 'done => }
cnt = 0
while (cnt < 501) {
cnt += 1
@@ -56,6 +57,7 @@ object B extends Actor {
for (_ <- 1 to 500) {
A ! 'msg2
}
+ A ! 'done
}
}
}