You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain scenarios, we may want to use the go leark tool to detect goroutine leaks. In the context of log/logger.go:375, a goroutine is created for log output. However, it is not possible for us to close this goroutine from our project.
please provide some method to close it, thank you!
leaks.go:78: found unexpected goroutines:
[Goroutine 19 in state select, with github.com/baidubce/bce-sdk-go/util/log.NewLogger.func1 on top of the stack:
goroutine 19 [select]:
github.com/baidubce/bce-sdk-go/util/log.NewLogger.func1()
/mod/github.com/baidubce/[email protected]/util/log/logger.go:375 +0xec
created by github.com/baidubce/bce-sdk-go/util/log.NewLogger
/mod/github.com/baidubce/[email protected]/util/log/logger.go:368 +0x244
The text was updated successfully, but these errors were encountered:
In certain scenarios, we may want to use the go leark tool to detect goroutine leaks. In the context of log/logger.go:375, a goroutine is created for log output. However, it is not possible for us to close this goroutine from our project.
please provide some method to close it, thank you!
The text was updated successfully, but these errors were encountered: