Changes between Initial Version and Version 2 of Ticket #15851


Ignore:
Timestamp:
Aug 15, 2012, 1:29:32 PM (9 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15851

    • Property Milestone changed from tbd to 2.0
  • Ticket #15851 – Description

    initial v2  
    11To safeguard against memory leaks, and to avoid any funny business when calling destroy(true)  (which destroys the widget but preserves the DOM), maybe _Widget.on() should call this.own() on every handle it returns.
    22
    3 Also, Destroyable probably shouldn't set handle._odh because it creates an unnecessary limitation that a given handle can only be owned by owned by one Destroyable object.   Rather, _odb can be a variable in the closure.
     3Also, 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.