HZNM.COM
welcome to my space
X
Search:  
 HOME   Best practise on unregister event listener
Best practise on unregister event listener
Published by: jack 2010-03-18
Welcome to:hznm.com

  • Hi all!

    I have a question regarding event listener.

    Precondition: my browser page contains an ExtJS widget containing some grids, form panels, buttons, stores, etc. There are a lot of event handlers registered listening for event fired by ExtJs components. And my ExtJS widget defines own events and there are components listening for these events as well.

    Do I need to unregister event listener when the user leaves this browser page? Or does the browser purge the event listener when purging the DOM tree?

    Thanks
    Frank

    PS: Of course whenever I remove a component from my ExtJS widget directly, I have to care about unregistering event handlers.


  • It should clean up after itself.

    removing a Component destroys that Component by default (You can override that if you want) and destroy cleans up the Component. Ext is getting better at garbage collection with each release.





  • Challenging Books For A 14 Year Old?
    First guitar : acoustic or electric?

    You are looking at:hznm.com's Best practise on unregister event listener, click hznm.com to home
  • can i replace the headlamps
  • can 039 t get the back hatch on my jeep cherokee 1995 to open
  • need help with 039 99 cherokee sport
  • spark fowls out what can i do to find the problem
  • 2003 jeep wrangler sport 32 000 miles 15 000 worht it
  • how much is a 81 cj7 4 cyl jeep worth just in general it 039 s in decent shape
  • jsxc
  • what gives a c compressor power g35
  • isn 039 t it true that comparing an 03 07 infiniti g35 with a 03 04 svt cobra isnt fair
  • can you grease a zipper if so what kind of grease or oil should i use
  • xj performance exhaust vs stock exhaust price
  • do i have to change the timing belt on my jeep grand cherokee 2000 v8 4x4 with 125 k
  • my jeep grand cherokee 97 have a problem it is turning off in the morning and every day gets worst help me
  • jeep commander vs ford expedition
  • pxvg
  • what does the 3 and 12 below drive do on my jeep cherokee
  •  
  • 2002 jeep cherokee blows cold air when i turn on heat how do you fix the problem
  • i own a 2001 jeep cherokee when i start it when its cold it starts and runs fine but when i start it
  • 2003 jeep grand cherokee shut off while driving and wont restart
  • how much horsepower does an 88 jeep cherokee have and
  • 2000 jeep grand cherokee laredo how do you set the time from the interior digital clock
  • will a 78 cj5 258 inline six go into my 84 amc eagle without too many problems
  • bought a used 2001 jeep cherokee laredo and it came with 20 rims and tires and i think i need new tires
  • how to make a jeep go faster
  • my infiniti q45 exhausts black watery smoke
  • jeep srt8 questions please help me out if you have one
  • gzfn
  • how much gas milage would i get if i lifted my 1997 jeep wrangler se 4inches of suspension with 31 10 50 tires
  • globs in master cylinder reservoir
  • how much will it cost me to install a 2 5 inch rouch country suspension lift
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ