mrbaguvix commented on a change in pull request #18012:
URL: https://github.com/apache/airflow/pull/18012#discussion_r702332032



##########
File path: airflow/utils/log/file_processor_handler.py
##########
@@ -54,6 +54,8 @@ def set_context(self, filename):
         :param filename: filename in which the dag is located
         """
         local_loc = self._init_file(filename)
+        if self.handler:
+            self.handler.close()

Review comment:
       I think we can you the method on Line 75
   ```suggestion
            self.close()
   ```




-- 
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