Hi all,
Whenever I throw an exception somewhere in code inside a with_libc lambda expression, and try to catch it outside of that block, it will not catch that exception.
Example:
|t||ry {|
| Libc::with_libc([&] () { ... throw E||xception(); ... } );|
|} catch (Exception &e) {|| Genode::log("caught");|||| }
|The "caught" will never be printed in this case. What can I do to fix/work around this?