Repository navigation
fix: 修复停机后连接等待与首次注册竞态 - #75
Merged
Merged
Conversation
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dispose(或 Start 生命周期令牌取消)完成后,WaitForConnectedAsync 原先会创建无人完成的等待器;首次注册与 Shutdown 并发也会遗漏取消。本改动在取得等待器后复查终态,迟到注册由调用路径取消,复查后的停机仍由 Shutdown 取消已发布等待器。保留接口既有任务取消语义,无公共异常/API 变更。
覆盖终态新调用、1000 次首次注册/Dispose 同步起跑竞速、调用方取消隔离、生命周期取消,以及首次连接、跨重试和已连接立即完成。更新 CHANGELOG Unreleased。
验证:
Closes #65