Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not use the thread pool if it's shutdown #257

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Oct 6, 2014

should fix #256

@koush
Copy link
Owner

koush commented Oct 6, 2014

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

@robUx4
Copy link
Contributor Author

robUx4 commented Oct 6, 2014

See the comment in the #256 issue
I suspect it's the garbage collector calling the finalizer for some unknown reason. Maybe a bug in KitKat...

@paulpdaniels
Copy link
Contributor

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.

@robUx4
Copy link
Contributor Author

robUx4 commented Oct 10, 2014

I now log and report the error to the Future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RejectedExecutionException on an internal task scheduling
3 participants