enthought/pyface — pull request #81 by pankajp (2013-02-28 13:59:40+00:00)
Title: TaskAction: Disconnect task dependent listeners for action.

This commit sets the TaskAction's task to None in .destroy() method,
so that task dependent trait listeners are disconnected.
Unless this is done, TraitChangeNotifyWrapper wrappers are
leaked on creating and deleting TaskAction instances which have
listeners on TaskAction dependent properties.