-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Description
I think there are two bugs in the associated objects implementation as follows:
- it looks like retained/copied values are not released when the object they are associated with is deallocated, causing leaks.
- it looks like the atomic policy is not fully implemented ... when getting an associated value it is not retained/autoreleased, so another thread can destroy it before the calling thread gets to retain it.
These issues are demonstrated in the gnustep-base tests (marked as hopeful) in Tests/base/Functions/runtime.m
These tests pass on OSX
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels