Commit 36dfbce
fix(daemon): start metrics loop + bypass TRCC_DAEMON fork bomb
run_daemon() now calls trcc.start_metrics_loop() so the 50ms tick
drives LCD/LED frames — without it the device shows a frozen/blank
screen in daemon mode.
_build_trcc() passes an explicit PlatformFactory.current() to
_boot_trcc() so the daemon-proxy short-circuit is skipped. With
TRCC_DAEMON=1 inherited and no explicit platform, _boot.trcc() called
ensure_daemon() before the socket was bound, spawning another daemon
process — infinite fork chain (upstream issue #162).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 73ff4e4 commit 36dfbce
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
179 | 185 | | |
180 | 186 | | |
181 | 187 | | |
182 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
| |||
0 commit comments