nil 체크 추가

This commit is contained in:
2025-07-02 11:54:05 +09:00
parent d74ece6596
commit 3f2ce41c2a

View File

@ -33,7 +33,10 @@ type MetricPipe struct {
}
func (mp MetricPipe) Close() {
if mp.pipe != nil {
mp.pipe.Close()
mp.pipe = nil
}
}
func (mp MetricPipe) writeLine(line string) {