List Info

Thread: Object release




Object release
user name
2006-05-06 20:46:47
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-Javascriptgooglegroups.com
To unsubscribe from this group, send email to
OOP-Javascript-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/OOP-Javascript
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )