jQWidgets Forums

jQuery UI Widgets Forums General Discussions Navigation Tree jqxTree destroy

This topic contains 2 replies, has 2 voices, and was last updated by  zhq3k@163.com 12 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxTree destroy #14038

    Hi team

    i have a jqxtree with checkbox.

    i call the jqxtree’s destroy method, but the browser memory no change.

    your code destroy :
    destroy:function(){this.host.removeClass();this.host.remove()}

    are you sure you can release the memory in destroy function?

    i think you no destroy the checkbox at least.

    jqxTree destroy #14043

    Peter Stoev
    Keymaster

    Hi,

    The jQuery’s remove method, removes all resources associated to a DOM element and its children. You can read about it here: http://api.jquery.com/remove. In addition, most of the modern browsers use advanced garbage collection so it depends on the browser when it will update itself and will clean the elements marked as garbage.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxTree destroy #14128

    Hi team

    the rich client program must sure the browser not happen leak memory. it is very important.

    now i test your end program and find more question in four months.
    some i can solve it myself, but some must ask your framework no defect when your client in using.

    your team provides the example is very simple and not refresh more times by Ajax, most is load one time.

    some controls leak are very serious.

    I have test all case in order to move our applications to your Library. if programs are very much, how can let me to using?

    i hope you can test fully at every control, must sure really no leak memory.

    don’t ask me provide the code and html. because we JS files is very large, can’t split.

    i hope your example can test in ajax more times and more repeat.
    i don’t hope my application cause the browser down when click the button 50 times.

    i hope your team can give your users some surprise in sort time.
    i think you can do it.

    ============================================================

    The Jquery remove methods can’t release the memory, i don’t known why happen, but i think may be JS reference cycle in complex environment. So must release the memory myself. but i can’t find any release code in some controls.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.