AndroidAsync icon indicating copy to clipboard operation
AndroidAsync copied to clipboard

do not use the thread pool if it's shutdown

Open robUx4 opened this issue 11 years ago • 4 comments

should fix https://github.com/koush/AndroidAsync/issues/256

robUx4 avatar Oct 06 '14 08:10 robUx4

How is this ever even getting shut down? It's a singleton pool that never shuts down.

koush avatar Oct 06 '14 08:10 koush

See the comment in the https://github.com/koush/AndroidAsync/issues/256 issue I suspect it's the garbage collector calling the finalizer for some unknown reason. Maybe a bug in KitKat...

robUx4 avatar Oct 06 '14 08:10 robUx4

I don't know that I like the "silently do nothing", I would imagine at the very least there should be a trace or debug log if this has been shutdown. Developers are going to want to know when this is happening.

paulpdaniels avatar Oct 07 '14 19:10 paulpdaniels

I now log and report the error to the Future

robUx4 avatar Oct 10 '14 07:10 robUx4