Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork79.2k
Use cachednoop
function#33496
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Use cachednoop
function#33496
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I recall noticing this in the past but forgot to make a separate PR for sure. :) That being said, shouldn't our tests have caught this? I mean |
@XhmikosR I suppose, you rememberthis |
Yeah, that's another change :) But I still wonder why this wasn't caught :/ |
7da4c18
toe0fd67d
Compare
Not sure about that but that should be considered in another PR IMO (If that is not needed)@GeoSot. 🙂 |
noop
function returns a new function every time whenever it is called. So just use thenoop
function, not the value returned by it (So that the event handler can remove the same function that was attached before).Ref:#33451 (comment)