You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drain RPC invocations on kEos + add lifecycle tracing
The kEos RoomEvent handler moves out and destroys the local participant
without first calling shutdown(). If the listener thread is mid-RPC-
invocation when kEos arrives, the participant's FfiHandle is dropped
while a handler is still in flight; the handler's later sendRequest
then hits an invalid Rust handle and the uncaught std::runtime_error
on the listener thread aborts the process. Mirror the ordering used
in disconnect(): call shutdown() on the moved-out participant before
letting it destruct.
Add INFO-level tracing at the key lifecycle points (~Room, disconnect,
kDisconnected, kEos, FfiHandle drops, INVALID_HANDLE error path) and
DEBUG tracing on the RPC invocation hot path. Bump RUST_LOG in the
integration-test CI step so the Rust side's "handle not found" error
message lands in the log.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments