Browse files

add awaitTermination to Akka plugin as well

  • Loading branch information...
1 parent 9563780 commit 843f0338fd00ec75d04972cccaf467914ab01762 @pk11 pk11 committed Apr 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/src/play/src/main/scala/play/api/libs/concurrent/Akka.scala
View
1 framework/src/play/src/main/scala/play/api/libs/concurrent/Akka.scala
@@ -119,6 +119,7 @@ class AkkaPlugin(app: Application) extends Plugin {
if (applicationSystemEnabled) {
Logger("play").info("Shutdown application default Akka system.")
applicationSystem.shutdown()
+ applicationSystem.awaitTermination()
}
}

0 comments on commit 843f033

Please sign in to comment.