|
Now I think I solved the issue.
At least, if you remove a class from the system that defined a keymapping, there is no reference to an obsolete class anymore. background: the keymap registration works in three steps: 1. collect methods with pragma <keymap> 2. build the registration items with one builder-instance (this builder collects the items too). 3. register all of the collected items. my change is at the third step, instead of working on the collection of the builder, I make a copy and remove all items from the builder. That way the builder does not hold a reference to the shortcut items after they went to the registry. nicolai
|