Avoid NPE in deconstruction
@@ -30,6 +30,6 @@ public class DefaultSslContextFactoryProvider extends AbstractComponent implemen
@Override
public void deconstruct() {
- tlsContext.close();
+ if (tlsContext != null) tlsContext.close();
}
}
\ No newline at end of file
