danvratil / qcoro

C++ Coroutines for Qt
https://qcoro.dvratil.cz
MIT License
326 stars 53 forks source link

Fix coroutine being resumed on a wrong thread after timeout #215

Closed danvratil closed 5 months ago

danvratil commented 5 months ago

When awaiting a signal emission with qCoro() would time out, we would resume the awaiting coroutine in the context of the thread in which the emitter lives instead of the thread in which qCoro() was called from.

Fixes #213