https://gitlab.synchro.net/main/sbbs/-/commit/69ce31a825697b89a48f62d9
Modified Files:
src/syncterm/syncterm.c term.c
Log Message:
SyncTERM: move Wren VM lifecycle inside doterm()
doterm() now owns wren_host_init/shutdown; the caller in syncterm.c
no longer brackets the call. Converted to a single-return shape via
\`bool ret\` and \`goto end\` so shutdown runs on every exit path.
The pre-init cterm-failure return stays a plain \`return false\` Ä no
VM exists yet.
Sets up locals (speed, ooii_mode) being in scope where the VM is
initialized, so accessors for them can read live values for the
entire VM lifetime.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net