Dan Vrátil

Results 38 comments of Dan Vrátil

Hi, generally, exceptions are pain in Qt, exactly for the reason you describe - how to handle an exception thrown from a slot invoked from an event loop? There's no...

I see two options here, if you want to stick to exceptions: 1) In every top-level coroutine, handle all exceptions globally: ```cpp QCoro::Task onServerConnected() try { ... ... } catch...

> Ideally, I would still like to preserve throwing from co_await coro;, and only abort, when the coroutine is NOT awaited. I'm not sure if that's even possible. Coincidentally, this...

Some observation from my current implementation: 1) Adding a template argument to the `Task` template class effectively affects its API by breaking any forward-declarations in user code. I might work...

The current PoC code lives in the [`feature/task-exception-handling`](https://github.com/danvratil/qcoro/tree/feature/task-exception-handling) branch.

Regarding the Generator & exceptions - the exception from the generator should be re-thrown when you dereference the iterator, which, combined with the `TaskWhereUnhandledExceptionsAbort` should cause the code to terminate....

I think I need to formalize the behavior of the iterator a bit more in the documentation (and check the code if it matches the expections describe below): When an...

Hi, regarding the exceptions in generators: 1) there was a bug in the sync generator that would cause a crash when exception was thrown inside the generator 2) after some...

[[QTBUG-58620] Add async/away support to V4](https://bugreports.qt.io/browse/QTBUG-58620)

Hi, the error I got was 0xc0000135 and the executable would exit immediately, so I also suspect it's trouble locating the right path to the ASAN dlls. To make things...