Opened 8 years ago
Closed 8 years ago
#1058 closed defect (fixed)
Collection caching bug?
Reported by: | pett | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | 0.7 |
Component: | Core | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The Collection.iter method caches the objects it creates. This seems like a bug since the Collection can shrink as items are destroyed, but the cache remains unchanged as far as I can tell.
Change History (2)
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed.
If collection has fewer objects than in cached list then don't use the cached list.
Note:
See TracTickets
for help on using tickets.