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

There are a lot of leaks about androidx.work.impl.background.systemjob.SystemJobService on Android 12. #2692

Open
bryanrady opened this issue Jul 23, 2024 · 0 comments

Comments

@bryanrady
Copy link

The leaked information is below.

leakcanary version: 2.12
Android version: 12

LeakTrace information

┬───
│ GC Root: System class

├─ android.content.res.ResourcesImpl class
│ Leaking: NO (a class is never leaking)
│ ↓ static ResourcesImpl.mAppContext
│ ~~~~~~~~~~~
├─ android.app.ContextImpl instance
│ Leaking: UNKNOWN
│ Retaining 1.8 kB in 17 objects
│ mOuterContext instance of androidx.work.impl.background.systemjob.SystemJobService
│ ContextImpl.mOuterContext is an instance of androidx.work.impl.background.systemjob.SystemJobService
│ ↓ ContextImpl.mOuterContext
│ ~~~~~~~~~~~~~
╰→ androidx.work.impl.background.systemjob.SystemJobService instance
​ Leaking: YES (ObjectWatcher was watching this because androidx.work.impl.background.systemjob.SystemJobService
​ received Service#onDestroy() callback and Service not held by ActivityThread)
​ Retaining 276 B in 6 objects
​ key = 21490c62-8010-444c-971c-54dd6d9dc616
​ watchDurationMillis = 23351
​ retainedDurationMillis = 18347
]

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

No branches or pull requests

1 participant