Commit 74ee2145 authored by iwakeh's avatar iwakeh Committed by Karsten Loesing
Browse files

Make the reader thread a daemon thread.

parent 8d09f565
......@@ -9,6 +9,10 @@
- Avoid deleting extraneous local descriptor files when collecting
descriptors from CollecTor.
- Turn the descriptor reader thread into a daemon thread, so that
the application can decide at any time to stop consuming
descriptors without having to worry about the reader thread not
being done.
# Changes in version 1.5.0 - 2016-10-19
......@@ -153,7 +153,9 @@ public class DescriptorReaderImpl implements DescriptorReader {
this.tarballs, descriptorQueue, this.autoSaveHistoryFile,
this.manualSaveHistoryFile, this.excludedFiles,
new Thread(this.reader).start();
Thread readerThread = new Thread(this.reader);
return descriptorQueue;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment