func (p *UnixNamedPipe) Close() error {
	if p.pipe == nil {
		return nil
	}

	err := p.pipe.Close()
	if err != nil {
		return err
	}

	p.pipe = nil
	return err
}
// Close the underlying named pipe
Close the underlying named pipe
// Close the underlying named pipe
func (p *UnixNamedPipe) Close() error {
	if p.pipe == nil {
		return nil
	}
	err := p.pipe.Close()
	if err != nil {
		return err
	}
	p.pipe = nil
	return err
}
func ( p * UnixNamedPipe ) Close ( ) error { if p . pipe == nil { return nil } err := p . pipe . Close ( ) if err != nil { return err } p . pipe = nil return err }
Close the underlying named pipe
Close the underlying named pipe