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

Executors.newSingleThreadExecutor() is never used #587

Open
AlexTrotsenko opened this issue Jul 29, 2024 · 0 comments
Open

Executors.newSingleThreadExecutor() is never used #587

AlexTrotsenko opened this issue Jul 29, 2024 · 0 comments

Comments

@AlexTrotsenko
Copy link

cameraExecutor = Executors.newSingleThreadExecutor()

I see, that Executors.newSingleThreadExecutor() was added in the dcaf84f by @donovanfm, but it's never used.

Was there an idea to use it instead of ContextCompat.getMainExecutor(this) ? If so - what's the pros/cons of such single thread executor ?

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

No branches or pull requests

1 participant