Skip to content

Commit

Permalink
Cleanup token source
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxtra committed Dec 20, 2021
1 parent 1c9175c commit 7023903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IPBanCore/Core/IPBan/IPBanServiceRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public override async Task StopAsync(CancellationToken cancellationToken)
public void Shutdown()
{
cancelToken.Cancel();
cancelToken.Dispose();
}

/// <inheritdoc />
Expand Down

0 comments on commit 7023903

Please sign in to comment.