Skip to content

Commit

Permalink
feat: fix the retain_log_files
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel1302 committed Jul 29, 2023
1 parent 7f453c5 commit 80ea56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vega_sim/null_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def sighandler(signal, frame):
if process.poll() == -9:
logger.debug(f"Process {name} killed.")

if not retain_log_files:
if not retain_log_files and os.path.exists(tmp_vega_dir):
shutil.rmtree(tmp_vega_dir)

# The below lines are workaround to put the listeners on top of the stack, so this process can handle it.
Expand Down

0 comments on commit 80ea56d

Please sign in to comment.