issue #155: core: remove one duplicate set_cloexec().
This commit is contained in:
parent
cb71ce94c4
commit
80642ed9ec
|
@ -1073,7 +1073,6 @@ class IoLogger(BasicStream):
|
|||
self._log = logging.getLogger(name)
|
||||
self._rsock, self._wsock = socket.socketpair()
|
||||
os.dup2(self._wsock.fileno(), dest_fd)
|
||||
set_cloexec(self._rsock.fileno())
|
||||
set_cloexec(self._wsock.fileno())
|
||||
|
||||
self.receive_side = Side(self, self._rsock.fileno())
|
||||
|
|
Loading…
Reference in New Issue