enthought / envisage

Envisage is a Python-based framework for building applications whose functionalities can be extended by adding "plug-ins".
http://docs.enthought.com/envisage/
Other
80 stars 26 forks source link

Add an unbind_extension_point function #546

Closed mdickinson closed 1 year ago

mdickinson commented 1 year ago

This PR adds an unbind_extension_point function that reverses the effects of bind_extension_point. In particular, unbind_extension_point removes references to the target HasTraits object from global state, allowing that object to be garbage collected in the usual way. (Previously, those references would live until the end of the process.)

Detailed changes

Fixes #97