mirror of https://github.com/apache/druid.git
Merge pull request #1050 from druid-io/fix-rt
Fix a small bug where an NPE can occur if a closeable is not present
This commit is contained in:
commit
1fe79135dc
|
@ -288,8 +288,10 @@ public class RealtimePlumber implements Plumber
|
|||
}
|
||||
finally {
|
||||
try {
|
||||
if (closeable != null) {
|
||||
closeable.close();
|
||||
}
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw Throwables.propagate(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue