shutdown event comment
Vladimir Bauer
7 years ago
| 265 | 265 |
case <-b.shutdown:
|
| 266 | 266 |
b.cacheState = s
|
| 267 | 267 |
close(b.done)
|
|
268 |
// Notifying decorators about shutdown event
|
| 268 | 269 |
for _, sl := range s.shutdownListeners {
|
| 269 | 270 |
sl.Shutdown()
|
| 270 | 271 |
}
|