Please provide a method to shutdown thread pool used in com.sendgrid.BaseInterface.attempt.
Even after com.sendgrid.SendGrid instance is discarded, the thread pool is still alive and it prevents the JVM process from exiting.
Steps to Reproduce
Just call com.sendgrid.BaseInterface.attempt, and then, the JVM process won't exit.
Issue Summary
Please provide a method to shutdown thread pool used in
com.sendgrid.BaseInterface.attempt
. Even aftercom.sendgrid.SendGrid
instance is discarded, the thread pool is still alive and it prevents the JVM process from exiting.Steps to Reproduce
Just call
com.sendgrid.BaseInterface.attempt
, and then, the JVM process won't exit.Technical details: