forked from j62/ctbrec
Catch exceptions in Stream.stop()
This commit is contained in:
parent
42186208bf
commit
01aa04b3da
|
@ -77,8 +77,12 @@ public class Streamer {
|
||||||
log.error("Couldn't close sink", e);
|
log.error("Couldn't close sink", e);
|
||||||
}
|
}
|
||||||
buffer.clear();
|
buffer.clear();
|
||||||
|
try {
|
||||||
bufferingThread.interrupt();
|
bufferingThread.interrupt();
|
||||||
streamingThread.interrupt();
|
streamingThread.interrupt();
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("Couldn't interrupt streamer threads");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void internalStream() {
|
private void internalStream() {
|
||||||
|
|
Loading…
Reference in New Issue