mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:44:03 +03:00
Use CloseRead and CloseWrites
This commit is contained in:
@@ -48,7 +48,7 @@ func (s *syncPair) Flush() error {
|
||||
s.mutex.Lock()
|
||||
defer s.mutex.Unlock()
|
||||
|
||||
return s.writer.Flush()
|
||||
return s.writer.Flush() // nolint: wrapcheck
|
||||
}
|
||||
|
||||
func (s *syncPair) readBlocking(p []byte, blocking bool) (int, error) {
|
||||
|
||||
Reference in New Issue
Block a user