diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
commit | 45ba35aa01f1650ed28479976262236bbf204ef1 (patch) | |
tree | a45ef1240a00776b9fd0b0b9b1a89b877848b474 /tests/websockets_gethostbyname.c | |
parent | 3a156a34e83fa301b8abbac6effdb5bd21d9be11 (diff) |
add parameter to emscripten_set_main_loop to optionally simulate an infinite loop by throwing an exception (like glutMainLoop)
Diffstat (limited to 'tests/websockets_gethostbyname.c')
-rw-r--r-- | tests/websockets_gethostbyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/websockets_gethostbyname.c b/tests/websockets_gethostbyname.c index 847187c7..6b8777f1 100644 --- a/tests/websockets_gethostbyname.c +++ b/tests/websockets_gethostbyname.c @@ -122,7 +122,7 @@ int main(void) } #if EMSCRIPTEN - emscripten_set_main_loop(iter, 0); + emscripten_set_main_loop(iter, 0, 0); #else while (!done) iter(NULL); #endif |