Skip to content

[FixCrash][Perfomance]Remove unnecessary "this" capture for subjects to prevent crashes for stack subjects variables.#561

Merged
kirkshoop merged 1 commit intoReactiveX:masterfrom
victimsnino:master
Nov 3, 2021
Merged

[FixCrash][Perfomance]Remove unnecessary "this" capture for subjects to prevent crashes for stack subjects variables.#561
kirkshoop merged 1 commit intoReactiveX:masterfrom
victimsnino:master

Conversation

@victimsnino
Copy link
Copy Markdown
Collaborator

In the case of using replay/behavioral subjects as local variables, it is possible to obtain a crash when the subject variable is destroyed, but the stream is still used.

@victimsnino
Copy link
Copy Markdown
Collaborator Author

@kirkshoop , can you submit it, please?

@kirkshoop kirkshoop merged commit 9075876 into ReactiveX:master Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants