xmlstream: ensure slow futures are scheduled on this loop

This commit is contained in:
mathieui 2021-01-25 10:13:49 +01:00
parent f15311bda8
commit 3642e2c7f4

View file

@ -1053,7 +1053,8 @@ class XMLStream(asyncio.BaseProtocol):
self._continue_slow_send(
task,
already_run_filters
)
),
loop=self.loop,
)
raise Exception("Slow coro, rescheduling")
data = task.result()