Skip to content

Commit

Permalink
avoid self._errpipe_write double close
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored May 11, 2022
1 parent 3e71ddc commit 80f3e40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uvloop/handles/process.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ cdef class UVProcess(UVHandle):
self._finish_init()

os_close(self._errpipe_write)
self._errpipe_write = -1

if preexec_fn is not None:
errpipe_data = bytearray()
Expand Down

0 comments on commit 80f3e40

Please sign in to comment.