Add Cleanupable interface

The Cleanup method is called on actors when they exit
This commit is contained in:
2025-09-17 20:45:01 -04:00
parent e21cd9ed11
commit d34af2c4ee
3 changed files with 33 additions and 2 deletions

View File

@@ -279,6 +279,7 @@ func (this *environment) phase70_5Trimming() bool {
}
func (this *environment) phase80Shutdown() bool {
logActors(All())
ctx, done := context.WithTimeout(
context.Background(),
defaul(this.timing.shutdownTimeout.Load(), defaultShutdownTimeout))