On 8/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Lets say I had some dynamic rows with links. Perhaps I use signal to > connect those links to some function. Later, I remove the rows. This > happens on a continual basis. > Would it be important to disconnect the link's signal before > removing/discarding the row? If I didn't, would I experience memory > problems after a while? > Thanks > Dennis
You should clean up the event handlers, yes. var hndlr = MochiKit.Signal.connect( obj, "onevent", function( e ){} ); MochiKit.Signal.disconnect( hndlr ); --- or, alternatively --- disconnectAll( obj ); http://mochikit.com/doc/html/MochiKit/Signal.html#fn-disconnect --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---