We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98eecdd commit f690418Copy full SHA for f690418
xs/platforms/lin_xs_cli.c
@@ -49,7 +49,11 @@ int main(int argc, char* argv[]) // here
49
50
printf("lin_xs_cli: invoking main(argv)\n");
51
xsCallFunction1(xsVar(1), xsUndefined, xsVar(0));
52
- printf(" lin_xs_cli: invoked\n");
+ printf(" lin_xs_cli: invoked; entering event loop\n");
53
+
54
+ GMainLoop *loop = g_main_loop_new(g_main_context_default(), FALSE);
55
+ g_main_loop_run(loop); // ISSUE: how to exit when quiescent?
56
+ g_main_loop_unref(loop);
57
}
58
xsCatch {
59
xsStringValue message = xsToString(xsException);
0 commit comments