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

Fix the CloudWatch Logs table breaking when the service returns an ex… #2017

Merged
merged 4 commits into from
Aug 25, 2020

Conversation

hunterwerlla
Copy link
Contributor

@hunterwerlla hunterwerlla commented Aug 25, 2020

…ception during loading more (#1951)

Also fix the memory leak on close

Related Issue(s)

#1798
#1951

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hunterwerlla hunterwerlla requested a review from a team as a code owner August 25, 2020 17:41
@@ -46,7 +46,7 @@ sealed class LogActor<T>(
LOG.error(e) { "Exception thrown in the LogStreamActor not handled:" }
notifyError(title = message("general.unknown_error"), project = project)
table.setPaintBusy(false)
Disposer.dispose(this)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this class registered to a parent Disposable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but, one of them was not registered, fixed the memory leak :D

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@abrooksv abrooksv merged commit d130717 into master Aug 25, 2020
@abrooksv abrooksv deleted the werlla/improveCloudwatchErrors branch August 25, 2020 20:21
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