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

Non-daemon thread? [JVM] #9

Open
ghost opened this issue Aug 9, 2021 · 2 comments
Open

Non-daemon thread? [JVM] #9

ghost opened this issue Aug 9, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 9, 2021

Using this library for JVM I noticed that my app based on compose-jb won't exit properly.
I suspect that there is a thread running in the background that prevents shutdown, but I don't see a option to shutdown the cache.

I suggest that for time-based evictions you should use a daemon thread.

@ychescale9
Copy link
Member

Thanks for reporting. I'll need to look into touchlab/stately to understand its threading implementation on jvm.

@dcvz dcvz mentioned this issue Apr 16, 2022
2 tasks
@lsafer-meemer
Copy link

was facing the same issue, this must be addressed since it prevents the process from exiting

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

2 participants