20 Aug
2008
20 Aug
'08
3:26 p.m.
Obviously, if there is still a reference to them in the Objective-C side, it's not going to be nice (AFAIK classes are not allocated from the autozone). This feature would have to be used very carefully.
Actually, I just remembered that the dyld unload support includes unloading Obj-C bundles. If it can do that then there must be a way to tear down the classes, too. I’ll try to make time to dig into the runtime to see what they do when this happens. -Ben