We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 047a356 commit fdf7718Copy full SHA for fdf7718
aiocarrot/carrot.py
@@ -105,6 +105,11 @@ async def run(self) -> None:
105
finally:
106
logger.info('Shutting down...')
107
108
+ await self._channel.close()
109
+ await self._connection.close()
110
+
111
+ logger.info('Good bye!')
112
113
async def _consumer_loop(self) -> None:
114
"""
115
The main event loop used by Carrot to receive new messages and pass them on to the handler
0 commit comments