Only close event send side (facepalm)

asyncify_input_modes
Tyler Goodlet 2021-06-23 10:04:56 -04:00
parent 48053588da
commit 26c333ff22
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ async def open_event_stream(
source_widget.installEventFilter(kc) source_widget.installEventFilter(kc)
try: try:
async with (send, recv): async with send:
yield recv yield recv
finally: finally:
source_widget.removeEventFilter(kc) source_widget.removeEventFilter(kc)