mirror of https://github.com/apache/druid.git
fix NPE in DirectDruidClient
This commit is contained in:
parent
d0fe70a21f
commit
3134affac9
|
@ -292,7 +292,9 @@ public class DirectDruidClient<T> implements QueryRunner<T>
|
||||||
@Override
|
@Override
|
||||||
public void close() throws IOException
|
public void close() throws IOException
|
||||||
{
|
{
|
||||||
jp.close();
|
if(jp != null) {
|
||||||
|
jp.close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue