Environment now actually runs RunShutdownable actors

This commit is contained in:
Sasha Koshka 2025-01-30 19:29:39 -05:00
parent 326db33ecc
commit 5e38cec135

View File

@ -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))
} }
}() }()