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);
|
||||
}
|
||||
buffer.clear();
|
||||
bufferingThread.interrupt();
|
||||
streamingThread.interrupt();
|
||||
try {
|
||||
bufferingThread.interrupt();
|
||||
streamingThread.interrupt();
|
||||
} catch (Exception e) {
|
||||
log.error("Couldn't interrupt streamer threads");
|
||||
}
|
||||
}
|
||||
|
||||
private void internalStream() {
|
||||
|
|
Loading…
Reference in New Issue