LicenseChecker checkAccess leaks ServiceConnection

后端 未结 4 961
遥遥无期
遥遥无期 2021-01-07 22:18

I am receiving this exception in LogCat every time I press the Back button in my app:

Activity has leaked ServiceConnection com.android

4条回答
  •  太阳男子
    2021-01-07 22:40

    I don't know about google's LicenceChecker, but you should call StopService() before exit the Activity otherwise the service is still running and leaks memory.

提交回复
热议问题