Closed proninyaroslav closed 6 years ago
That's normal in android, the session
destructor can take a while if trackers and peers connections are alive. Back then I didn't manage that destruction properly, and now SessionManager#stop
is a blocking operation, calling it in onDestroy
will cause you an ANR.
I recommend you change the pattern of your service destruction, spanning a thread if necessary. See https://github.com/frostwire/frostwire/blob/master/android/src/com/frostwire/android/gui/services/EngineService.java#L112-L112 for other ideas.
Hi. Starting with version
1.2.0.10
in the Google Console ANR I began to notice the following crashes:If necessary I can provide more logs.