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] replacing leaking asyncTask #676

Merged
merged 1 commit into from
Jan 21, 2024
Merged

[FIX] replacing leaking asyncTask #676

merged 1 commit into from
Jan 21, 2024

Conversation

rksh
Copy link
Contributor

@rksh rksh commented Jan 21, 2024

Fixing an actual issue (leaking static) instead of just linting for once.
Also removing deprecated menu-item layout cmds.

@@ -223,7 +223,9 @@ public void handleUserStats(final View view, final Resources resources, final St
}
}
if (null != stats.getImageBadgeUrl() && !stats.getImageBadgeUrl().isEmpty()) {
new DownloadBadgeImageTask(view.findViewById(R.id.badgeImage)).execute(UrlConfig.WIGLE_BASE_URL+stats.getImageBadgeUrl());
ExecutorService executor = Executors.newSingleThreadExecutor();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this really is single use - this activity doesn't even have a "swipe to refresh" command.

@rksh rksh merged commit ee91428 into wiglenet:main Jan 21, 2024
1 check passed
@rksh rksh deleted the leaky_async branch January 24, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants