Skip to content

Commit

Permalink
Avoid self._errpipe_write double close (#466)
Browse files Browse the repository at this point in the history
Fixes #414
  • Loading branch information
graingert authored Jul 17, 2022
1 parent 31ba48c commit 72140d7
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 72140d7

Please sign in to comment.