Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

danvratil
Copy link
Owner

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

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
@danvratil danvratil merged commit 03a074f into main Mar 1, 2024
45 checks passed
@danvratil danvratil deleted the fix-signal-timeout-from-obj-in-other-thread branch March 1, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: application crashes when signal from another thread timeouts
1 participant