Description
Problems:
- Line 346:
self._sub_task = None should be self._pub_task = None
if self._sub_task:
self._sub_task.cancel()
with suppress(CancelledError):
await self._sub_task
self._sub_task = None
if self._pub_task:
self._pub_task.cancel()
with suppress(CancelledError):
await self._pub_task
self._sub_task = None <-------------------- Here!!!
URL to code causing the issue
No response
MCVE
Steps to reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Screenshots
No response
Logs
Litestar Version
2.17.0
Platform
Description
Problems:
self._sub_task = Noneshould beself._pub_task = Nonelitestar/litestar/channels/plugin.py
Line 346 in 8837e8a
URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
Litestar Version
2.17.0
Platform