dispose

protected open override fun dispose(entity: ProcessModel.Entity)(source)

When an entity is disposed (e.g., a transient Agent whose process completed and is being reclaimed), stop its statechart so its subscriptions are torn down promptly rather than waiting for the end-of-replication sweep.