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
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user