summaryrefslogtreecommitdiffstats
path: root/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java')
-rw-r--r--src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java b/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
index 65b3d3f59..b887e7428 100644
--- a/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
+++ b/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
@@ -85,6 +85,13 @@ public class Bug1398macOSContextOpsOnMainThread extends JFrame implements GLEven
}
});
animator.start();
+
+ try {
+ Thread.sleep(1000);
+ } catch (Exception e) {}
+
+ animator.stop();
+ System.exit(0);
}
/**