mirror of https://github.com/apache/openjpa.git
null out EMF to help GC
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0baa453c37
commit
89ed13599e
|
@ -91,6 +91,7 @@ public class TestConstraints extends AbstractPersistenceTestCase {
|
||||||
@Override
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
closeEMF(emf);
|
closeEMF(emf);
|
||||||
|
emf = null;
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue