Destroyable: a handle can't be owned by multiple Destroyables
Destroyable probably shouldn't set handle._odh (storing it's own handle inside the original handle) because it creates an unnecessary limitation that a given handle can only be owned by one Destroyable object. Rather, _odb can be a variable in the closure.
Change History (6)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Summary: |
_Widget.destroy(): release all handles returned from _Widget.on() →
Destroyable: a handle can't be owned by multiple Destroyables
|
Type: |
enhancement →
defect
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Turns out _WidgetBase already releases handles (for DOMNode connections anyway), so reappropriating this ticket for the Destroyable issue.