Skip to content

Use closeMutex for setting closeWithErrorHandler - #66

Merged
tfpauly merged 1 commit into
mainfrom
tfp/quic-close-lock
Aug 4, 2026
Merged

Use closeMutex for setting closeWithErrorHandler#66
tfpauly merged 1 commit into
mainfrom
tfp/quic-close-lock

Conversation

@tfpauly

@tfpauly tfpauly commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Fix the lock being used for setting closeWithErrorHandler, to match the lock used when accessing closeWithErrorHandler.

@tfpauly
tfpauly requested a review from rpaulo August 3, 2026 22:18

func setCloseWithError(handler: @escaping QUICMetadataSetterHandler) {
mutex.withLock { _ in
closeMutex.withLock { _ in

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tfpauly
tfpauly merged commit 872d882 into main Aug 4, 2026
23 checks passed
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.

3 participants