diff --git a/bar.go b/bar.go index 6315a7a..021a127 100644 --- a/bar.go +++ b/bar.go @@ -266,6 +266,7 @@ case <-b.shutdown: b.cacheState = s close(b.done) + // Notifying decorators about shutdown event for _, sl := range s.shutdownListeners { sl.Shutdown() }