Skip to content

Synchronize MySQL connection continuation - #10

Merged
tetujin merged 1 commit into
mainfrom
fix/mysql-continuation-sendable
Nov 24, 2026
Merged

tetujin merged 1 commit into
mainfrom
fix/mysql-continuation-sendable

Conversation

@tetujin

@tetujin tetujin commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace the mutable captured resumed flag with a lock-protected one-shot gate
  • make the gate explicitly Sendable while protecting all mutable state with NSLock
  • guarantee that ready, failed, and cancelled states can resume the continuation only once
  • remove the Swift 6 Sendable-closure captured-variable warning

Validation

  • iPhone 16 Pro / iOS 18.5 Simulator tests pass
  • xcresult status succeeded with zero errors
  • MySQLDirectSync captured-resumed warnings are zero
  • git diff check passes

@tetujin
tetujin merged commit 1d5ee83 into main Nov 24, 2026
2 checks passed
@tetujin
tetujin deleted the fix/mysql-continuation-sendable branch November 24, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant