← Commit history

0.9.303: Tour sync: the verb-side control channel (kicad_demo {control}) is cleared at tour start too, so a pause/next/exit queued against a previous tour never steers a new one; completes the stale-press drain of 0.9.302.

John Lauer ·5fe5c2dde7 ·1mo ago ·parent 17441eb
3 files changed +4−2
BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.9.302\ No newline at end of file+0.9.303\ No newline at end of file
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "kicad",   "displayName": "KiCad EDA",-  "version": "0.9.302",+  "version": "0.9.303",   "description": "Reverse bridge for KiCad \u2014 board/schematic introspection, lint via kicad-cli, plugin install, multi-instance probe, in-process DRC.",   "homepage": "https://wiki.adom.inc/adom/adom-bridge",   "author": "Adom Inc.",
handlers/demo.py+2
@@ -1156,6 +1156,8 @@ def _run_demo_background(kicad_info: dict) -> None:         # panel id across shows, so last run's NEXT presses fired at once. Reset         # the mute from THIS call's args and swallow whatever the panel queued.         _NARR["muted"] = bool(_JOB.get("mutedRequested"))+        with _CTRL_LOCK:+            _CTRL["cmd"] = None            # a control queued against the previous tour must not steer this one         _drain_stale_presses()         _panel_show(0, "playing")         _caption(_BEAT_CAPTIONS["prepare"], duration_ms=_BEAT_CAPTION_MS["prepare"])