mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-8502 - EnversIntegrator#disintegrate needs to check config for null
This commit is contained in:
parent
e903b3d3cf
commit
34459efc2e
@ -113,8 +113,10 @@ EventType.POST_UPDATE, new EnversPostUpdateEventListenerImpl(
|
||||
|
||||
@Override
|
||||
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry) {
|
||||
if ( enversConfiguration != null ) {
|
||||
enversConfiguration.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
Loading…
x
Reference in New Issue
Block a user