Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Is postInit() sent to the built-in classes? — Gideros Forum

Is postInit() sent to the built-in classes?

bowerandybowerandy Guru
edited February 2013 in General questions
Hi @atilim,

I thought I would respond to another recent thread about memory leaks with a little bit of instrumentation code to report snapshots of the object memory state at a given time. However, the code I wrote relies on all objects receiving postInit(). As far as I can see, the built in classes don't get this function called on them. Is this true and, if so, can it be changed?

I've attached the sample project, in case you'd like to take a look. At present, I have to create my own Bitmap subclass (MyBitmap) in order for it to work. Obviously, this wouldn't be practical in general.

best regards
zip
zip
BhLeaky.zip
26K

Comments

Sign In or Register to comment.