ashb commented on code in PR #44427:
URL: https://github.com/apache/airflow/pull/44427#discussion_r1861035220


##########
task_sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -297,6 +298,10 @@ def start(
         if pid == 0:
             # Parent ends of the sockets are closed by the OS as they are set 
as non-inheritable
 
+            del path
+            del client
+            del ti

Review Comment:
   Likely not required, but just to make 100% sure they get gc'd and don't leak 
around longer than they are needed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to