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

CassandraSyncContext prevents app from exit #1729

Open
yeryomenkom opened this issue Dec 10, 2019 · 0 comments
Open

CassandraSyncContext prevents app from exit #1729

yeryomenkom opened this issue Dec 10, 2019 · 0 comments

Comments

@yeryomenkom
Copy link

I use CassandraSyncContext. It lives inside the scala object with a few query methods.
I use that object in my main function. If some exception occurs inside that function, app does not exit. If I remove usage of quill object (just don't do any cassandra query, so that object is not initialized), everything works as expected: app exits with error code.

Version: 3.4.10
Module: quill-cassandra
Database: cassandra

Expected behavior

App should be able to use quill cassandra context and exist if some exception has occured in main thread.

Actual behavior

App continues runing. Main thread is alive.

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