If the lambda fails the code leaves a MainLoop around that breaks things (i.e. the Qt main glib loop). I'm attaching the patch that fixes the problem, the generated code with and the patch.
Created attachment 112905 [details] The patch Add finally {} to try {} catch {}
Created attachment 112906 [details] Generated .c code if unpatched Note that there's some return; error conditions where the loop is not exited correctly with g_main_loop_quit (_data1_->mainloop);
Created attachment 112907 [details] Generated .c code if patched Note that all the exit paths properly have a g_main_loop_quit (_data1_->mainloop);
Please if possible credit this to "Albert Astals Cid <albert.astals@canonical.com>" and not to "Albert Astals Cid <aacid@kde.org>" I'm just using my kde.org account since I didn't feel like creating a new one just for this.
Created attachment 112950 [details] [review] The patch
It's been commited.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.