diff --git a/api/core/virtual_environment/channel/pipe_transport.py b/api/core/virtual_environment/channel/pipe_transport.py index 85ae7fde46..12a3c8dadd 100644 --- a/api/core/virtual_environment/channel/pipe_transport.py +++ b/api/core/virtual_environment/channel/pipe_transport.py @@ -9,6 +9,8 @@ class PipeTransport(Transport): one for reading and one for writing. NOTE: r_fd and w_fd must be a pair created by os.pipe(). or returned from subprocess.Popen + + NEVER FORGET TO CALL `close()` METHOD TO AVOID FILE DESCRIPTOR LEAKAGE. """ def __init__(self, r_fd: int, w_fd: int):