fix: C-01 WebRTC policy value, C-02 scoped taskkill, C-04 preflight race, E-11 socket timeout, E-27 ban test dedup, full audit doc
Some checks failed
CI / Test Python 3.10 (push) Has been cancelled
CI / Test Python 3.11 (push) Has been cancelled
CI / Test Python 3.12 (push) Has been cancelled

This commit is contained in:
Dr Jones
2026-05-22 00:43:57 -07:00
parent 311abb933a
commit 255fdf3e8c
7 changed files with 267 additions and 199 deletions

View File

@@ -1999,6 +1999,10 @@ def _main_inner() -> None:
root.after(0, lambda: _pf_set("target", "fail", "chain not running"))
# ── Final summary ─────────────────────────────────────────────────
# Schedule _final via root.after(0, ...) so it is enqueued AFTER
# all previously-scheduled root.after(0, ...) callbacks (which
# populate `warns`). A fixed 200 ms delay could fire before those
# callbacks execute on a slow main thread.
def _final() -> None:
pf_running[0] = False
if warns:
@@ -2006,7 +2010,7 @@ def _main_inner() -> None:
else:
pf_summary_var.set("✓ All pre-flight checks passed — good to go.")
root.after(200, _final)
root.after(0, _final)
threading.Thread(target=work, daemon=True).start()