The threads in the ScheduledThreadPool ExecutorService in the Tracker can now be stopped. This was causing the simple-console demo to hang.
The new method tracker.close() shuts down the Tracker threadpool, and also calls the BatchEmitter method emitter.close(), which interrupts the Emitter threads.
For issue #297. A fix for issue #291 / PR #293.
The threads in the ScheduledThreadPool ExecutorService in the Tracker can now be stopped. This was causing the simple-console demo to hang.
The new method
tracker.close()
shuts down the Tracker threadpool, and also calls the BatchEmitter methodemitter.close()
, which interrupts the Emitter threads.