From c7851893658386af5e577db53dd97d04903d470a Mon Sep 17 00:00:00 2001 From: Aliaksei Chareshneu Date: Thu, 13 Jun 2024 08:49:31 +0000 Subject: [PATCH] remove atexit --- .../cellstar_preprocessor/tools/deploy_api/deploy_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocessor/cellstar_preprocessor/tools/deploy_api/deploy_api.py b/preprocessor/cellstar_preprocessor/tools/deploy_api/deploy_api.py index 742b0ee2..ea3386da 100644 --- a/preprocessor/cellstar_preprocessor/tools/deploy_api/deploy_api.py +++ b/preprocessor/cellstar_preprocessor/tools/deploy_api/deploy_api.py @@ -10,7 +10,7 @@ from cellstar_preprocessor.flows.constants import DEFAULT_DB_PATH from cellstar_preprocessor.tools.deploy_db.deploy_process_helper import clean_up_processes -PROCESS_IDS_LIST = [] +# PROCESS_IDS_LIST = [] # source: https://stackoverflow.com/a/21901260/13136429 def _get_git_revision_hash() -> str: @@ -76,7 +76,7 @@ def deploy(args): api_process.communicate() if __name__ == '__main__': - atexit.register(clean_up_processes, PROCESS_IDS_LIST) + # atexit.register(clean_up_processes, PROCESS_IDS_LIST) args = parse_script_args() deploy(args)