Hey all -

I've got something bizarre going on, and it has to do with mixins
going crazy on me.

Very Basic scenario is -

I create an object A, and then inject method b() on it.

I use object A for a while, and when I'm done, I decide I want to
recycle object A, so it can be used again.

I pass object A off to my Cleaner, that removes methods b() from object A

I then go to get object A again, and put method c() onto it.

Now, SOMETIMES, when I access object A, I get an error stating that:
Variable THIS is undefined.

When trying to access in method c().

I get it on one object in on system - but I can't reproduce it
anywhere else.  But if I remove the recycle code, it works fine.

I'm so confused.

Has anyone else come across this error before?

Had anyone done any work on *removing* mixins, not just adding them?
and the consequences therein?

Any help would be appreciated, I'm pulling my hair out.

Cheers,

Mark

--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to