Skip to content

fixing "There is no current event loop in thread" for non asyncio code - #146

Merged
gvalkov merged 2 commits into
gvalkov:masterfrom
sezanzeb:patch-2
Jan 16, 2021
Merged

fixing "There is no current event loop in thread" for non asyncio code#146
gvalkov merged 2 commits into
gvalkov:masterfrom
sezanzeb:patch-2

Conversation

@sezanzeb

@sezanzeb sezanzeb commented Dec 6, 2020

Copy link
Copy Markdown
Collaborator

fixes lutris/lutris#3250

_do_when_readable is only used for e.g. async_read, but InputDevice may not use that and use read instead. So _do_when_readable is never called and no event loop is needed.

sezanzeb and others added 2 commits December 6, 2020 17:03
fixes lutris/lutris#3250

_do_when_readable is only used for e.g. async_read, but InputDevice may not use that and use read instead. So _do_when_readable is never called and no event loop is needed.
@gvalkov
gvalkov merged commit 5ac6650 into gvalkov:master Jan 16, 2021
@gvalkov

gvalkov commented Jan 16, 2021

Copy link
Copy Markdown
Owner

Thanks!

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.

lutris beta: error mesages about device.py

2 participants