[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] garbage

Hi all,

Ryan Brown just pointed out to me that Objects that use addUniqueMethod don't get completely garbage collected (and this can be seen in Object.uniqueMethods). Here is a short example:

a = Object.new.addUniqueMethod(\freeMe, {2});



a = nil;


Is there anything already built into the language, like a dtor function or method that I could assign to an object that would remove unique methods from from this Object array?




/* Joshua D. Parmenter


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono