Yes, the emscripten main loop is just a function that gets called multiple
times from the browser event loop. There are no nested calls to get it.

On Fri, Apr 5, 2019 at 10:17 AM Zajo <[email protected]> wrote:

> On Friday, April 5, 2019 at 2:15:40 AM UTC-7, Floh wrote:
>>
>> Hmm, hard to say what's going on, an "Aw snap!" can be something as
>> trivial as your program accidentally entering an infinite loop. If the
>> browser runtime doesn't hear back from your program for some time (15..30
>> seconds or so), it will kill the tab and print this "Aw Snap" message.
>>
>
>  I trust that in this context emscripten_set_main_loop(draw, 0, 1) does
> not count as an infinite loop. Right?
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to