Skip to content

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Feb 11, 2023

I thought I had committed this in #63535 but apparently not unfortunately. Lock creates a managed buffer of UInt8 elements who's capacity is determined by _lockSize(), thus this function needs to return the number of bytes to initialize and not words.

@Azoy
Copy link
Contributor Author

Azoy commented Feb 11, 2023

@swift-ci please smoke test

@Azoy Azoy merged commit 4ac3800 into swiftlang:main Feb 11, 2023
@Azoy Azoy deleted the reflection-lock branch February 11, 2023 18:25
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