Skip to content

fixing memory leaking tests - #437

Merged
lehecka merged 2 commits into
rsocket:masterfrom
lehecka:fixLeakyTests
May 17, 2017
Merged

fixing memory leaking tests#437
lehecka merged 2 commits into
rsocket:masterfrom
lehecka:fixLeakyTests

Conversation

@lehecka

Copy link
Copy Markdown
Contributor

The Subscription interface is now used in ReactiveSocket library and the special behavior around lifetime is unnecessary and awkward to use leading to memory leaks.
The fix also focuses on breaking the reference cycles between subscribers and subscriptions

@alexmalyshev

Copy link
Copy Markdown
Contributor

The change seems like a good idea to me, I never liked the Subscription reference cycle...

Build is still failing though, so please fix and re-test everything with ASAN+LSAN if you can.

@lehecka

Copy link
Copy Markdown
ContributorAuthor

this is not fixing all travis issues, but fixes the memory leaking. I will commit this now and work on fixing the rest of the travis issues.

@lehecka
lehecka merged commit 8b16bbf into rsocket:masterMay 17, 2017
Sign up for freeto 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

@lehecka@alexmalyshev