Skip to content
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

LocalExporter leaks a licence state listener #35627

Closed
DaveCTurner opened this issue Nov 16, 2018 · 6 comments · Fixed by #36308
Closed

LocalExporter leaks a licence state listener #35627

DaveCTurner opened this issue Nov 16, 2018 · 6 comments · Fixed by #36308

Comments

@DaveCTurner
Copy link
Contributor

Today, LocalExporter removes its licenseChanged() method from the licence state listener when closed:

However in fact this does nothing, because it involves a new Runnable that is different from the one we added earlier. The fix is fairly trivial, but writing the test for the fix has overflowed my stack of yaks so I'm spilling it out here.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rayz2007
Copy link

Hi! I'd like to help on this issue

@DaveCTurner
Copy link
Contributor Author

Thanks @rayz2007, go for it.

@markquis91
Copy link

Hi @rayz2007 and @DaveCTurner is this still being worked on? If not I will take it.

@DaveCTurner
Copy link
Contributor Author

No word from @rayz2007 so it seems not. Please go ahead @markquis91.

@jasontedor
Copy link
Member

@rayz2007 @markquis91 thanks for your interest although we have opened a fix for this in #36308.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants