Removed redundant thread code
This commit is contained in:
parent
14eaf423f0
commit
260aa0fdc4
@ -77,7 +77,6 @@ object RootActor {
|
||||
|
||||
@main
|
||||
def main() = {
|
||||
val t = new Thread(() => {
|
||||
implicit val rootActor =
|
||||
ActorSystem(RootActor(), "TestActors")
|
||||
|
||||
@ -85,9 +84,6 @@ def main() = {
|
||||
|
||||
rootActor ! RootActor.Begin
|
||||
rootActor ! RootActor.GetResult
|
||||
})
|
||||
t.setDaemon(true)
|
||||
t.start()
|
||||
|
||||
Thread.sleep(1000)
|
||||
System.exit(0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user