Oct. 9, 2012
2:34 p.m.
In this case, would it make sense to have a global "external handles registry" so, that during image boot it does: clearExternalObjects and booting ifTrue: [ registry := registry reject: [:each | each invalidate ] ]. (where registry is WeakIdentitySet , and #invalidate should answer true if object wants to remove itself (deregister) after invalidating external handle). and only then doing startup as usual. like that, then we could have better guarantee that nothing will go wrong, and things like FreeType won't require own startup procedure at all. -- Best regards, Igor Stasenko.