Commit f0343d83 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

main: Clean all temp files in signal handler thread instead of attempting to...


main: Clean all temp files in signal handler thread instead of attempting to bubble exception back to the main thread. (Closes: #852013)

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent 659c57df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -255,8 +255,8 @@ def run_diffoscope(parsed_args):


def sigterm_handler(signo, stack_frame):
    sys.exit(2)

    clean_all_temp_files()
    os._exit(2)

def main(args=None):
    if args is None: