ashb commented on pull request #14792: URL: https://github.com/apache/airflow/pull/14792#issuecomment-799775141
Yes, this finalizer will be safe in production https://github.com/apache/airflow/blob/a639dd364865da7367f342d5721a5f46a7188a29/airflow/cli/commands/scheduler_command.py#L31-L63 - `job` is in scope until the process exits/is just about to exit. If you add executor to the `__del__`, then yes, 14085 won't be needed (it's still draft anyway) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
