mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-08-25 23:41:06 +00:00
Same defect the ld-edge.js wrapper had: nim-ffi 0.3.0's RET_STALE_WARN (3) is a non-terminal progress ping, and treating it as terminal frees the function-table slot before the real reply arrives — which then traps the module with "RuntimeError: null function" inside ffi_poll, killing the node outright. Only slow requests warn, so the demos happened not to hit it. Guarding anyway: the demo is the reference a host copies, and shipping the trap in the example is how it spreads. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012qDYE5r2t2dMry5XpWWySu