2015-05-18 21:28 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:


2015-05-15 9:55 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:

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)
This way we don't end up with hundreds of obsolete class instances.

But the problem with circular references still exist.
break circular reference for keymappings

I could need some help here, any idea how to work with the key mapping registration without holding (or how to release) strong references?


thanks in advance
nicolai


Can anyone help me with this. I need a way to break the circular references.

a class is referenced by its compiled method
the compiled method is referenced by the method context
the method context is reference by a block context (the keymapping action)
the block context is referenced by the registration item
the registration item is referenced by the pragma registration builder
the builder is reference by the method context (it is the method argument) and here the
circle closes.

anyone?
��