small fixes, but bug introduced here '40895b0148'
Some checks failed
CMake / Configure and build using cmake (push) Failing after 2s

This commit is contained in:
2025-05-03 00:11:55 +02:00
parent 0f4d10912b
commit 6c604e2340
2 changed files with 7 additions and 5 deletions

View File

@ -234,6 +234,7 @@ with open(fname, 'w') as fp:
traceback.print_exc(file=fp_error) # This will log the full traceback
testError = True
cleanup(fp)
break
# redirect to terminal
@ -248,5 +249,5 @@ with open(fname, 'w') as fp:
sys.stdout = original_stdout
sys.stderr = original_stderr
Log(Fore.RED, f'Exception caught with general testing. Cleaning up...')
cleanSharedmemory(sys.stdout)
cleanup(fp)