Skip to content

Release 1.0.16

Choose a tag to compare

@bvdcode bvdcode released this 10 Aug 07:27
· 55 commits to main since this release
Improve concurrent stopping of hosted services

Initialize a task list to track asynchronous stopping tasks of hosted services in the `TelegramBot` namespace within `BotApp.cs`. Modify the stopping logic to add each `StopAsync` task to the list and log the start of the stopping process. Await all tasks concurrently using `Task.WhenAll(tasks)` to potentially reduce the overall stopping time and provide clearer logging information.