We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d660f2 commit 5c408adCopy full SHA for 5c408ad
1 file changed
sdk/sdk.go
@@ -280,13 +280,13 @@ func (c *client) Ready() <-chan struct{} {
280
}
281
282
func (c *client) Close() {
283
- c.mu.Lock()
284
- defer c.mu.Unlock()
285
if notifier, ok := c.cache.(store.Notifier); ok {
286
notifier.Close()
287
288
c.Publisher.Close()
289
c.ctxCancel()
+ c.mu.Lock()
+ defer c.mu.Unlock()
290
c.configCatClient.Close()
291
c.log.Reportf("shutdown complete")
292
0 commit comments