pivotal-legacy / PivotalCoreKit

Shared library and test code for iOS and macOS projects
http://pivotallabs.com
Other
168 stars 85 forks source link

Make UUIDWithLogging thread safe #207

Closed tomquist closed 6 years ago

tomquist commented 6 years ago

When executing our specs we sometimes get crashes when generating UUIDs by multiple threads in parallel because of use of memory after free. This is because NSMutableArray is not thread-safe.

tjarratt commented 6 years ago

Thanks for the pull request @tomquist <3