aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-04 04:41:37 +0200
committerSven Gothel <[email protected]>2012-10-04 04:41:37 +0200
commit2cbc4badb7fed2cc94128fda0fc381964b1b1f8d (patch)
treead81c218ab3585e7de0ef3e007608c2dd08ee651 /src/junit/com/jogamp/common
parenta8ed61a6ff28795e0c96cdd0a4175833ed95ca96 (diff)
TestSingletonServerSocket01: unlock singleton lock
Diffstat (limited to 'src/junit/com/jogamp/common')
-rw-r--r--src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java b/src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java
index 659e69e..9acd7d6 100644
--- a/src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java
+++ b/src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java
@@ -31,6 +31,7 @@ import java.io.IOException;
import junit.framework.Assert;
+import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -50,6 +51,7 @@ public class TestSingletonServerSocket01 {
@Test
public void testJVMShutdown() {
Assert.assertTrue("Could not lock single instance: "+singletonInstance.getName(), singletonInstance.tryLock(SINGLE_INSTANCE_LOCK_TO));
+ singletonInstance.unlock();
}
public static void main(String args[]) throws IOException, InterruptedException {