mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 16:04:14 +01:00
forgot to remove timer
This commit is contained in:
parent
d4c8a15f50
commit
cc7d638249
1 changed files with 1 additions and 1 deletions
|
|
@ -421,8 +421,8 @@ namespace MareSynchronosServer.Discord
|
||||||
|
|
||||||
public async Task StopAsync(CancellationToken cancellationToken)
|
public async Task StopAsync(CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
_timer?.Change(Timeout.Infinite, 0);
|
|
||||||
verificationTaskCts?.Cancel();
|
verificationTaskCts?.Cancel();
|
||||||
|
updateStatusCts?.Cancel();
|
||||||
|
|
||||||
await discordClient.LogoutAsync();
|
await discordClient.LogoutAsync();
|
||||||
await discordClient.StopAsync();
|
await discordClient.StopAsync();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue