分离玩家信息插件,以及更新检测
This commit is contained in:
@@ -21,8 +21,9 @@ namespace AnotherReplayReader.Utils
|
||||
using var locker = new Lock(_lock);
|
||||
_current = _current.ContinueWith(async t =>
|
||||
{
|
||||
await _dispatcher.InvokeAsync(getTask, DispatcherPriority.Background, cancelToken);
|
||||
}, cancelToken);
|
||||
var task = await _dispatcher.InvokeAsync(getTask, DispatcherPriority.Background, cancelToken);
|
||||
await task.ConfigureAwait(false);
|
||||
}, cancelToken).Unwrap();
|
||||
return _current.IgnoreCancel();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user