Flush streams and sleep before printing crash report

This commit is contained in:
Kovid Goyal 2026-04-19 21:25:08 +05:30
parent e9dcc4393f
commit 3a598218d3
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -24,6 +24,9 @@ SW = ''
def do_print_crash_reports() -> None:
sys.stdout.flush()
sys.stderr.flush()
time.sleep(2)
print('Printing available crash reports...')
if is_macos:
end_time = time.monotonic() + 90