commit | d05c9979b6ba8726013369f3279df3e901a999bc | [log] [tgz] |
---|---|---|
author | Kevin Scaldeferri <kscaldef@gilt.com> | Fri Oct 05 15:37:22 2012 -0700 |
committer | Kevin Scaldeferri <kscaldef@gilt.com> | Fri Oct 05 15:37:25 2012 -0700 |
tree | ac318d540f29b082c1e5a50b0884d0d81f602c8e | |
parent | e2101d4f33f959455c516e74b9af272e06037194 [diff] |
Explicitly shutdown ExecutorService after running tasks Per the documented behavior of ThreadPoolExecutor, you must either call shutdown or configure the executor to time-out the core threads. If this is not done, the thread pool persists and the process will not exit cleanly.