This commit is contained in:
Timothee "TTimo" Besset 2025-07-14 07:54:23 -05:00 committed by GitHub
commit f207fef7ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -173,4 +173,5 @@ class ExecApiMixin:
if stream:
return CancellableStream(output, res)
else:
res.close()
return output

View File

@ -69,3 +69,5 @@ class CancellableStream:
sock.shutdown(socket.SHUT_RDWR)
sock.close()
self._response.close()