I don't think that should matter (it just affects what happens in the initial call to set the main loop). But let us know if you find a testcase showing that, perhaps there's a bug.
On Sun, Aug 26, 2018 at 8:15 AM sigflup synasloble <[email protected]> wrote: > Maybe it's because I have the simulate infinite loop argument on > > > On Sunday, August 26, 2018 at 8:49:00 AM UTC-5, Alon Zakai wrote: >> >> This should work, and looks like we have a passing test for it, >> browser.test_emscripten_main_loop, so I think there might be something more >> going on in your application. Can you provide a testcase showing the issue? >> >> On Fri, Aug 24, 2018 at 5:36 PM sigflup synasloble <[email protected]> >> wrote: >> >>> I want to exit main loop by calling cancel_main_loop inside of the loop. >>> >>> When I do this my program hangs :( >>> >>> -- >>> 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. > -- 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.
