Ashish Shubham
1 min readNov 26, 2018

--

The code which you have written is prone to a memory leak. For each iteration of the generator you are creating a new eventListener. These will not get cleaned up and make app slow with usage.

--

--

Ashish Shubham
Ashish Shubham

Written by Ashish Shubham

No business like the show business!

No responses yet