问题:心跳失败触发重连时,shutdownNow关闭旧channel会导致 gRPC流抛出UNAVAILABLE异常,虽然检测到过时流但仍传播异常 到TssRepository的collect协程,导致应用崩溃。 修复: - GrpcClient: 过时流错误时使用close()而非close(t)避免传播异常 - GrpcClient: 添加shutdownNow错误检测避免不必要的重连 - TssRepository: 为subscribeSessionEvents和subscribeMessages流添加.catch Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| account | ||
| message-router | ||
| server-party | ||
| server-party-api | ||
| server-party-co-managed | ||
| service-party-android | ||
| service-party-app | ||
| session-coordinator | ||
| tss-wasm | ||