Hey, I need a way to call a user defined function (one that
I code)
when an object is about to be destroyed. For instance if I
have an
array of objects, and I remove one of the objects from the
array, it
will then be picked up by the garbage collector, however
before this
can I happen I need to wrap some things up within the
object, to
prevent memory leaks, what can I do to accomplish this?
Thanks a heap!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "OOP Javascript" group.
To post to this group, send email to OOP-Javascript googlegroups.com
To unsubscribe from this group, send email to
OOP-Javascript-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/OOP-Javascript
-~----------~----~----~----~------~----~------~--~---
|