Created
October 12, 2020 10:49
-
-
Save creativepsyco/468faf0bd6510e02cd00a2b62f44c252 to your computer and use it in GitHub Desktop.
Location Plugin Leak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D/LeakCanary: | |
┬─── | |
│ GC Root: Global variable in native code | |
│ | |
├─ android.location.LocationManager$GnssStatusListenerTransport instance | |
│ Leaking: UNKNOWN | |
│ Retaining 6839 bytes in 64 objects | |
│ ↓ LocationManager$GnssStatusListenerTransport.mGnssNmeaListener | |
│ ~~~~~~~~~~~~~~~~~ | |
├─ com.lyokone.location.FlutterLocation$3 instance | |
│ Leaking: UNKNOWN | |
│ Retaining 12 bytes in 1 objects | |
│ Anonymous class implementing android.location.OnNmeaMessageListener | |
│ ↓ FlutterLocation$3.this$0 | |
│ ~~~~~~ | |
├─ com.lyokone.location.FlutterLocation instance | |
│ Leaking: UNKNOWN | |
│ Retaining 556 bytes in 21 objects | |
│ activity instance of io.flutter.embedding.android.FlutterActivity with mDestroyed = true | |
│ applicationContext instance of io.flutter.app.FlutterApplication | |
│ ↓ FlutterLocation.activity | |
│ ~~~~~~~~ | |
╰→ io.flutter.embedding.android.FlutterActivity instance | |
Leaking: YES (ObjectWatcher was watching this because io.flutter.embedding.android.FlutterActivity received | |
Activity#onDestroy() callback and Activity#mDestroyed is true) | |
Retaining 28320 bytes in 408 objects | |
key = 6584aded-8243-47a9-bbe1-025b35af859f | |
watchDurationMillis = 11013 | |
retainedDurationMillis = 5993 | |
mApplication instance of io.flutter.app.FlutterApplication | |
mBase instance of android.app.ContextImpl, not wrapping known Android context | |
METADATA | |
Build.VERSION.SDK_INT: 29 | |
Build.MANUFACTURER: Google | |
LeakCanary version: 2.5 | |
App process name: com.lyokone.locationexample | |
Stats: LruCache[maxSize=3000,hits=2220,misses=40922,hitRate=5%] | |
RandomAccess[bytes=2101650,reads=40922,travel=13323853544,range=14052661,size=18166296] | |
Analysis duration: 2019 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment