On Monday, August 25, 2014 10:09:00 AM UTC-5, Edward K. Ream wrote:

> The IdleTime ctor now appends a reference to self to the new 
g.app.idle_timers list.  This ensures that IdleTimer's do not get garbage 
collected prematurely. 

I forgot to mention the new IdleTime.destroy_self method.  This removes the 
reference to self from g.app.idle_timers list and allows the IdleTime 
instance to be garbage collected.  This prevents a memory leak if you 
create many such instances, as might happen in an idle-time coloring scheme.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to