ThanosFisherman / WifiUtils

Easily Connect to WiFi Networks
Apache License 2.0
731 stars 188 forks source link

IntentReceiver com.thanosfisherman.wifiutils.wifiScan.WifiScanReceiver@cbb1961 that was originally registered here. Are you missing a call to unregisterReceiver()? #83

Open Jasperben opened 4 years ago

Jasperben commented 4 years ago

2020-08-21 14:12:23.986 5983-5983/com.app.filly E/ActivityThread: Activity com.app.filly.SettingActivity has leaked IntentReceiver com.thanosfisherman.wifiutils.wifiScan.WifiScanReceiver@cbb1961 that was originally registered here. Are you missing a call to unregisterReceiver()? android.app.IntentReceiverLeaked: Activity com.app.filly.SettingActivity has leaked IntentReceiver com.thanosfisherman.wifiutils.wifiScan.WifiScanReceiver@cbb1961 that was originally registered here. Are you missing a call to unregisterReceiver()? at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:1429) at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1210) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1477) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1450) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1438) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:623) at com.thanosfisherman.wifiutils.ConnectorUtils.registerReceiver(ConnectorUtils.java:158) at com.thanosfisherman.wifiutils.WifiUtils$1.onWifiEnabled(WifiUtils.java:107) at com.thanosfisherman.wifiutils.WifiUtils.enableWifi(WifiUtils.java:229) at com.thanosfisherman.wifiutils.WifiUtils.start(WifiUtils.java:406) at com.app.filly.ui.wifi.WifiFragment$7.run(WifiFragment.java:277) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99)

ThanosFisherman commented 4 years ago

I can't reproduce this error. Please explain what you're trying to do and post some code.