mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
remove excessive logging due to runtime.debugStack
This commit is contained in:
parent
ff8269575a
commit
9ef132c33b
@ -424,6 +424,7 @@ func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, f
|
||||
func SafeClose[T any](c chan<- T) {
|
||||
if c != nil {
|
||||
close(c)
|
||||
return
|
||||
}
|
||||
// Print stack to check who is sending `c` as `nil`
|
||||
// without crashing the server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user