HHH-8502 - EnversIntegrator#disintegrate needs to check config for null
This commit is contained in:
parent
e903b3d3cf
commit
34459efc2e
|
@ -113,8 +113,10 @@ public class EnversIntegrator implements Integrator {
|
|||
|
||||
@Override
|
||||
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry) {
|
||||
if ( enversConfiguration != null ) {
|
||||
enversConfiguration.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
Loading…
Reference in New Issue