HHH-8930 Make the rebuildSessionFactory() method be more aggressive about closing
This commit is contained in:
parent
4656176ea9
commit
50d1be9e2d
|
@ -156,6 +156,10 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
|
|||
}
|
||||
try {
|
||||
sessionFactory.close();
|
||||
sessionFactory = null;
|
||||
configuration = null;
|
||||
serviceRegistry.destroy();
|
||||
serviceRegistry = null;
|
||||
}
|
||||
catch (Exception ignore) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue