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.
