test/checkkeys.c
changeset 9607 7746ab058d12
parent 9581 4da24acfbd90
child 9619 b94b6d0bff0f
--- a/test/checkkeys.c	Mon May 18 21:17:13 2015 +0200
+++ b/test/checkkeys.c	Mon May 18 21:21:14 2015 +0200
@@ -162,6 +162,11 @@
             break;
         }
     }
+#ifdef __EMSCRIPTEN__
+    if (done) {
+        emscripten_cancel_main_loop();
+    }
+#endif
 }
 
 int