bmfe / WeexErosFramework

eros android sdk.
https://bmfe.github.io/eros-docs
75 stars 61 forks source link

com.benmu.framework.extend.hook.ui.components.HookWXText cause leaks #33

Open practicingman opened 6 years ago

practicingman commented 6 years ago
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