rwadurian/backend/mpc-system/services/service-party-app
hailin b231667aba fix(grpc): prevent stream race condition from triggering reconnection
When switching message/event streams, the old stream's 'end' or 'error'
events could fire after the new stream was created. Since activeMessageSubscription
was already updated to the new session, the old stream's events would
incorrectly trigger reconnection, causing TSS message routing to fail.

Fix:
- Remove event listeners from old stream before canceling
- Use closure to capture current stream reference
- Check if event is from current active stream before triggering reconnect

This fixes the "Not connected" error during co-sign TSS message routing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 08:57:44 -08:00
..
electron fix(grpc): prevent stream race condition from triggering reconnection 2025-12-31 08:57:44 -08:00
proto fix(service-party-app): 修复 proto 文件打包路径问题 2025-12-28 07:39:55 -08:00
scripts fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
src revert: undo incorrect threshold conversion that broke keygen 2025-12-31 07:58:36 -08:00
tss-party fix(co-sign): adjust threshold for tss-lib (t-1) to match user expectation 2025-12-31 08:19:27 -08:00
.gitignore feat(service-party-app): 添加SQLite存储和Kava区块链集成 2025-12-28 19:45:45 -08:00
build-windows.bat fix(service-party-app): 更新build-windows.bat支持clean选项 2025-12-28 20:17:27 -08:00
electron-builder.json fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
index.html feat(service-party-app): 添加签名功能并重命名应用 2025-12-28 08:00:00 -08:00
package-lock.json fix(service-party-app): 添加bech32类型声明和清理脚本 2025-12-28 20:14:17 -08:00
package.json fix(service-party-app): 在 package.json 的 build 配置中添加 afterPack 2025-12-29 11:20:35 -08:00
tsconfig.electron.json fix(service-party-app): 修复 Electron 主进程编译配置 2025-12-28 07:31:26 -08:00
tsconfig.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
tsconfig.node.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
vite.config.ts feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00