Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32552
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: removeEventListener why |
| Date | 2017-02-07 17:31 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <5241706.lOV4Wx5bFT@PointedEars.de> (permalink) |
| References | <hbCdnUYE2rVRhQTFnZ2dnUU7-dvNnZ2d@westnet.com.au> <10efabc5-8543-46ac-9674-576a9c16ed68@googlegroups.com> |
Michael Haufe (TNO) wrote: > On Monday, February 6, 2017 at 6:46:14 PM UTC-6, Andrew Poulos wrote: >> Is it good practice to remove all listeners I add or does it make no >> difference? I'm usually careful about removing all listeners I add but I >> don't know if today it serves any real purpose. >> >> In the past I used to be worried about memory leaks. Is it still an >> issue? > > Doesn't matter anymore on modern browsers. True; however, it is a good rule of thumb. Backwards-compatibility can be important; I would think that it is in Andrew’s case (IIRC, he is developing e-learning applications based on Moodle). In which browser/layout engine versions is this issue resolved? > Beware of doing things with an <object/> <embed /> or <applet /> tag > though if you have them. God knows what happens when you interact with > browser plugins with a bridge. ACK. PointedEars -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
removeEventListener why Andrew Poulos <ap_prog@hotmail.com> - 2017-02-07 11:46 +1100
Re: removeEventListener why "Julio P. Di Egidio" <julio@diegidio.name> - 2017-02-07 05:51 +0100
Re: removeEventListener why "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-07 11:41 +0100
Re: removeEventListener why Julio Di Egidio <julio@diegidio.name> - 2017-02-07 03:00 -0800
Re: removeEventListener why "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-07 12:44 +0100
Re: removeEventListener why JJ <jj4public@vfemail.net> - 2017-02-07 22:50 +0700
Re: removeEventListener why "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-07 18:17 +0100
Re: removeEventListener why JJ <jj4public@vfemail.net> - 2017-02-08 23:11 +0700
Re: removeEventListener why "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-08 19:39 +0100
Re: removeEventListener why Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-09 02:02 +0100
Re: removeEventListener why Julio Di Egidio <julio@diegidio.name> - 2017-02-08 20:33 -0800
Re: removeEventListener why "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-09 11:51 +0100
Re: removeEventListener why Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-09 12:01 +0100
Re: removeEventListener why JJ <jj4public@vfemail.net> - 2017-02-09 18:36 +0700
Re: removeEventListener why Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-09 13:09 +0100
Re: removeEventListener why "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-02-07 06:32 -0800
Re: removeEventListener why Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-07 17:31 +0100
Re: removeEventListener why Julio Di Egidio <julio@diegidio.name> - 2017-02-07 11:59 -0800
Re: removeEventListener why Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-07 21:55 +0100
Re: removeEventListener why Julio Di Egidio <julio@diegidio.name> - 2017-02-07 13:23 -0800
Re: removeEventListener why "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-02-08 06:03 -0800
Re: removeEventListener why "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-02-08 05:54 -0800
csiph-web