We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738f070 commit 9b91d00Copy full SHA for 9b91d00
1 file changed
Code/ChroniclerJ/src/edu/columbia/cs/psl/chroniclerj/Log.java
@@ -29,4 +29,16 @@ public static void clearLog() {
29
aLog_fill = 0;
30
31
}
32
+
33
+ private static boolean hasRegisteredHook = false;
34
+ static {
35
+ if(!hasRegisteredHook){
36
+ hasRegisteredHook = true;
37
+ Runtime.getRuntime().addShutdownHook(new Thread(){
38
+ public void run(){
39
+ ChroniclerJExportRunner.genTestCase();
40
+ }
41
+ });
42
43
44
0 commit comments