小编all*_*uff的帖子

FirebaseAuthFallbackService 内存泄漏

我有一些恼人的内存泄漏,几乎总是在我进入应用程序或退出应用程序时发生,我无法意识到什么时候

 ====================================
HEAP ANALYSIS RESULT
====================================
1 APPLICATION LEAKS

References underlined with "~~~" are likely causes.
Learn more at https://squ.re/leaks.

1166 bytes retained by leaking objects
????
? GC Root: Global variable in native code
?
?? com.google.firebase.auth.api.fallback.service.zza instance
?    Leaking: UNKNOWN
?    Retaining 1.7 kB in 10 objects
?    zza instance of com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService
?    ? zza.zza
?          ~~~
?? com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService instance
?     Leaking: YES (ObjectWatcher was watching this because com.google.firebase.auth.api.fallback.service.
?     FirebaseAuthFallbackService received Service#onDestroy() callback)
?     Retaining 1.2 kB …
Run Code Online (Sandbox Code Playgroud)

android memory-leaks kotlin firebase firebase-authentication

5
推荐指数
0
解决办法
468
查看次数