wiln / flash-console

Automatically exported from code.google.com/p/flash-console
0 stars 0 forks source link

Hard reference for a period #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Every references that comes into console via logging could get hard referenced 
for about 30 seconds before it get released (become weak)...
This makes sure you will be able to click on objects links for a much longer 
time frame (before being garbage collected).

This could be done by having an array that hold all new incoming references. 
After about a minute, another array is created and the old array is pushed to 
'bank' var while the new array start accepting new references. After another 
minute, the 'bank' array get removed and the new array get pushed to 'bank' 
array. - repeat.

--- Yes. I am talking to my self...

Original issue reported on code.google.com by luay...@gmail.com on 10 Nov 2010 at 10:53

GoogleCodeExporter commented 9 years ago

Original comment by luay...@gmail.com on 25 Nov 2010 at 10:55