Skip to content
Snippets Groups Projects
Commit f0343d83 authored by Chris Lamb's avatar Chris Lamb :eyes:
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
No related branches found
No related tags found
No related merge requests found
...@@ -255,8 +255,8 @@ def run_diffoscope(parsed_args): ...@@ -255,8 +255,8 @@ def run_diffoscope(parsed_args):
def sigterm_handler(signo, stack_frame): def sigterm_handler(signo, stack_frame):
sys.exit(2) clean_all_temp_files()
os._exit(2)
def main(args=None): def main(args=None):
if args is None: if args is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment