Update excute_code_before_termination.c