File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,10 +110,10 @@ public async Task StartAsync(CancellationToken cancellationToken = default)
110110 /// A completed <see cref="Task" /> since the underlying host lifecycle is gracefully controlled via shutdown
111111 /// signals.
112112 /// </returns>
113- public Task StopAsync ( CancellationToken cancellationToken = new ( ) )
113+ public async Task StopAsync ( CancellationToken cancellationToken = default )
114114 {
115115 _logger . LogInformation ( "Telegram bot stopping..." ) ;
116- return Task . CompletedTask ;
116+ await _host . StopAsync ( cancellationToken ) ;
117117 }
118118
119119 /// <summary>
Original file line number Diff line number Diff line change 88 <PackageId >TeleFrame</PackageId >
99 <Description > </Description >
1010 <RepositoryUrl >https://github.com/M0BIN-V/TeleFrame</RepositoryUrl >
11- <Version >1.3.2 </Version >
11+ <Version >1.3.3 </Version >
1212 <PackageIcon >TeleFrame.png</PackageIcon >
1313 <PackageReadmeFile >README.md</PackageReadmeFile >
1414 <PackageLicenseFile >LICENCE</PackageLicenseFile >
You can’t perform that action at this time.
0 commit comments