Skip to content

Commit

Permalink
remove atexit
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaksei-chareshneu committed Jun 13, 2024
1 parent aed811e commit c785189
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)

0 comments on commit c785189

Please sign in to comment.