IE8 memory leaks - using dojo widgets and iframes with ajax -
we using dojo , iframes in our application ui. using our own custom widgets. browser ie8.
we facing memory leaks due orphan nodes. internet suggests remove circular references , disconnect events attached widgets. however, use data-dojo-attach-event connect events.
please suggest ways remove these leaks , such methods can employed. in direction appreciated. in advance.
you might want destroy widgets if remove dom behind (or reload iframe). destroying widget can done using destroy()
method.
if want destroy widgets inside iframe, use the findwidgets()
method of dijit/registry
module.
Comments
Post a Comment