remove excessive logging due to runtime.debugStack

This commit is contained in:
Harshavardhana 2024-01-28 18:10:27 -08:00
parent ff8269575a
commit 9ef132c33b

View File

@ -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.