Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix clean-up of observers used by features - #5575

Merged
cheap-glitch merged 1 commit into
mainfrom
fix-deinit
Apr 7, 2022
Merged

cheap-glitch merged 1 commit into
mainfrom
fix-deinit

Conversation

@cheap-glitch

Copy link
Copy Markdown
Contributor

Follow-up of #5422 (comment)
Fixes #5552 (hopefully)

@cheap-glitch cheap-glitch added bug meta Related to Refined GitHub itself labels Apr 6, 2022
};
}

if ('destroy' in deinit) { // Delegate subscription

@cheap-glitch cheap-glitch Apr 6, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fregante Do you think delegation.destroy needs the same treatment?

There's also a few debouncedFn.cancel lying around.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cheap-glitch
cheap-glitch marked this pull request as ready for review April 6, 2022 17:38
@cheap-glitch cheap-glitch changed the title Fix features deinit Fix clean-up of observers used by features Apr 7, 2022
@cheap-glitch
cheap-glitch merged commit d89ae72 into main Apr 7, 2022
@cheap-glitch
cheap-glitch deleted the fix-deinit branch April 7, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

sticky-sidebar: ResizeObserver.updateStickiness ajax error in console

2 participants