Open robUx4 opened 10 years ago
Looking at the ThreadPoolExecutor
code it seems the "Terminated" string indicates the executor is dead. There is no call to shutdown()
in your code, so the other option could be that the executor finalize()
has been called (thus shutdown()
being called). Maybe due to a premature death or the app being killed soon after a background startup in the background.
I think before calling execute()
you should check the isShutdown()
state of the executor. Silently doing nothing if they're dead.
I get this error on 4.4.4 devices (non rooted). This is happening early in the lifetime of the process, within the first second the app is launched.
I noticed
synchronousWorkers
is not final, but I don't think it will make much of a difference.