IAsyncDisposable Change

- removed own implementation, using BCL library version now
This commit is contained in:
Brett Hewitson 2022-06-22 01:14:08 +10:00
parent 7688e2b2ae
commit db30824957
12 changed files with 89 additions and 138 deletions

View file

@ -1,7 +1,6 @@
using ConanData;
using NLog;
using ServerManagerTool.Common.Enums;
using ServerManagerTool.Common.Interfaces;
using ServerManagerTool.Common.Lib;
using ServerManagerTool.Common.Model;
using ServerManagerTool.Common.Utils;
@ -71,7 +70,7 @@ namespace ServerManagerTool.Lib
this.Players = new SortableObservableCollection<PlayerInfo>();
}
public async Task DisposeAsync()
public async ValueTask DisposeAsync()
{
if (_cancellationTokenSource != null)
{