close closes the configMaps and stops it configuring the engine
()
| 204 | |
| 205 | // close closes the configMaps and stops it configuring the engine |
| 206 | func (c *configMaps) close() { |
| 207 | c.L.Lock() |
| 208 | defer c.L.Unlock() |
| 209 | for _, lc := range c.peers { |
| 210 | lc.resetLostTimer() |
| 211 | } |
| 212 | c.closing = true |
| 213 | c.Broadcast() |
| 214 | for c.phase != closed { |
| 215 | c.Wait() |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | // netMapLocked returns the current NetworkMap as determined by the config we |
| 220 | // have. c.L must be held. |
nothing calls this directly
no test coverage detected