Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
*Location*: https://docs.couchbase.com/java-sdk/2.7/managing-connections.html
*Referrer*: https://docs.couchbase.com/java-sdk/2.7/sample-application.html
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0
*Screen Resolution*: 1920 x 1080
-
DOC-2020-S14-Jul26
-
1
Description
All threads used by the SDK are daemon threads, so even if you do not disconnect() manually, your JVM will exit. It is very important that you properly shut down the SDK so that remaining operations are finished and nothing is left behind.
Suspect that it should be something more along the lines of:
...your JVM will be able to exit.