Details
Description
Per discussion on the dev mailing list, the appropriate way to cleanup weak references is to use a ReferenceQueue, instead of iterating over all of the objects. Attached is a patch which implements this fix for ObjectIdDictionary.
Activity
Keith Kowalczykowski
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | objectiddictionary-weak-reference.patch [ 41146 ] |
Keith Kowalczykowski
made changes -
| Attachment | objectiddictionary-weak-reference.patch [ 41140 ] |
Jörg Schaible
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 1.x Maintenance [ 12873 ] | |
| Resolution | Fixed [ 1 ] |
Jörg Schaible
made changes -
| Fix Version/s | 1.4 [ 17519 ] | |
| Fix Version/s | 1.x Maintenance [ 12873 ] |
Jörg Schaible
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Updated patch to fix test case.