-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxListeners #47
Comments
You can MyStore.setMaxlisteners(0); but I'm not sure why we keep the default max listeners on stores, I guess it's quite useful to catch memory leaks from components not being unmounted or being unmounted incorrectly |
The fix will find its way back here, I've just been swamped at my full time. |
I should have pointed out that I already fixed it the way that @tomatau described it. But now I'm second-guessing the way I've structured my components, instead of having every GridItem listen to a Store, I should probably have the GridView listen to it and propagate the changes to the items via a property? Anyhow, I can whip up a PR for the Store if you want. |
Hi,
I was having an issue where node was complaining about a potential memory leak because too many listeners were being added for the same event.
I saw that this was fixed in Biff (FormidableLabs@04edf8a) but not in this repo.
Is there a particular reason for that? Could we apply the same fix here?
The text was updated successfully, but these errors were encountered: