Codebase list golang-github-vbauerster-mpb / 2491ae4
shutdown event comment Vladimir Bauer 7 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
265265 case <-b.shutdown:
266266 b.cacheState = s
267267 close(b.done)
268 // Notifying decorators about shutdown event
268269 for _, sl := range s.shutdownListeners {
269270 sl.Shutdown()
270271 }