Closed as not planned
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
await self.bot.shutdown()
await self._update_processor.shutdown()
if self.updater:
await self.updater.shutdown()
await self.bot.shutdown()
already called inside the await self.updater.shutdown()
Describe the solution you'd like
if self.updater:
await self.updater.shutdown()
else:
await self.bot.shutdown()
await self._update_processor.shutdown() # Not sure when this should be called exactly
From the code is a little uncleare does await self._update_processor.shutdown()
should be called before or after await self.updater.shutdown()
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels