Environment now actually runs RunShutdownable actors
This commit is contained in:
parent
326db33ecc
commit
5e38cec135
@ -215,7 +215,10 @@ func (this *environment) phase70Running() bool {
|
|||||||
actors, done := this.actors.RBorrow()
|
actors, done := this.actors.RBorrow()
|
||||||
defer done()
|
defer done()
|
||||||
for _, actor := range actors.runnable.all() {
|
for _, actor := range actors.runnable.all() {
|
||||||
this.start(actor)
|
this.start(actor.(Actor))
|
||||||
|
}
|
||||||
|
for _, actor := range actors.runShutdownable.all() {
|
||||||
|
this.start(actor.(Actor))
|
||||||
}
|
}
|
||||||
|
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user