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

Error: IntentReceiverLeaked: Activity #419

Open
adaonder opened this issue Mar 23, 2020 · 1 comment
Open

Error: IntentReceiverLeaked: Activity #419

adaonder opened this issue Mar 23, 2020 · 1 comment
Labels

Comments

@adaonder
Copy link

Android 8.1.
Device: Hytera PNC550

Log

2020-03-23 08:16:57.548 2717-2717/com.globme.timeware E/ActivityThread: Activity com.globme.timeware.activity.BootstrapActivity has leaked IntentReceiver com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy$4@d9d1f53 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.globme.timeware.activity.BootstrapActivity has leaked IntentReceiver com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy$4@d9d1f53 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:1351)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1132)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1421)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1394)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1382)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:609)
at com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy.registerIdleReceiver(MarshmallowNetworkObservingStrategy.java:116)
at com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy.observeNetworkConnectivity(MarshmallowNetworkObservingStrategy.java:73)
at com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork.observeNetworkConnectivity(ReactiveNetwork.java:92)
at com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork.observeNetworkConnectivity(ReactiveNetwork.java:73)
at com.globme.common.activity.AbstractActivity.onResume(AbstractActivity.java:100)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1356)
at android.app.Activity.performResume(Activity.java:7131)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3559)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3624)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2865)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1592)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6518)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

@pwittchen
Copy link
Owner

pwittchen commented Mar 23, 2020

Thanks for reporting this issue. Can you provide any steps to reproduce? When this problem occur?
It seems to be the same issue as in #412

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

No branches or pull requests

2 participants