From 89ed13599e99c74a1e281a5227694dd98440c667 Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Tue, 26 Oct 2010 19:47:27 +0000 Subject: [PATCH] null out EMF to help GC git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027708 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/integration/validation/TestConstraints.java | 1 + 1 file changed, 1 insertion(+) diff --git a/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestConstraints.java b/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestConstraints.java index 01103e94e..9a0054662 100644 --- a/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestConstraints.java +++ b/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestConstraints.java @@ -91,6 +91,7 @@ public class TestConstraints extends AbstractPersistenceTestCase { @Override public void tearDown() throws Exception { closeEMF(emf); + emf = null; super.tearDown(); }