Only close event send side (facepalm)
parent
48053588da
commit
26c333ff22
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue