()
| 120 | } |
| 121 | |
| 122 | func (h *Host) currentModelExecutor() modelExecutor { |
| 123 | if h == nil { |
| 124 | return nil |
| 125 | } |
| 126 | h.mu.Lock() |
| 127 | executor := h.modelExecutor |
| 128 | h.mu.Unlock() |
| 129 | return executor |
| 130 | } |
| 131 | |
| 132 | func (h *Host) Snapshot() *Snapshot { |
| 133 | if h == nil { |
no outgoing calls