2015-05-15 9:55 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:nicolaiI could need some help here, any idea how to work with the key mapping registration without holding (or how to release) strong references?But the problem with circular references still exist.This way we don't end up with hundreds of obsolete class instances.
We now use a new class for the space-key as key combination. fixed and included in 50045 (https://pharo.fogbugz.com/default.asp?15529)break circular reference for keymappings
thanks in advance
Can anyone help me with this. I need a way to break the circular references.a class is referenced by its compiled methodthe compiled method is referenced by the method contextthe method context is reference by a block context (the keymapping action)the block context is referenced by the registration itemthe registration item is referenced by the pragma registration builderthe builder is reference by the method context (it is the method argument) and here thecircle closes.