com.benmu.framework.extend.hook.ui.components.HookWXText cause leaks
- Dominant language
- Java
- Stars
- 74
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
private void registerBroadCast() {
mReceiver = new DefaultBroadcastReceiver();
IntentFilter filter = new IntentFilter();
filter.addAction("com.benmu.jyt.ACTION_GOBALFONTSIZE_CHANGE");
LocalBroadcastManager.getInstance(getContext()).registerReceiver(mReceiver, filter);
}
maybe you forget to unregisterReceiver mReceiver
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate com.benmu.framework.extend.hook.ui.components.HookWXText and inspect registerBroadCast(), including the component lifecycle around the LocalBroadcastManager registration. Ensure mReceiver is unregistered at the appropriate lifecycle point, then verify that the broadcast receiver no longer remains registered after the component is released.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100