Skip to content

Commit 570a075

Browse files
bstudtmaCopilot
andauthored
Update src/SimConnect.NET/SimVar/SimVarManager.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ec403d6 commit 570a075

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/SimConnect.NET/SimVar/SimVarManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public async Task<T> GetAsync<T>(string simVarName, string unit = "", uint objec
7979
ObjectDisposedException.ThrowIf(this.disposed, nameof(SimVarManager));
8080
ArgumentException.ThrowIfNullOrEmpty(simVarName);
8181

82-
// ArgumentException.ThrowIfNullOrEmpty(unit);
8382
// Resolve to a definition ID (registry-backed or dynamic)
8483
uint definitionId = this.EnsureScalarDefinition(simVarName, unit, InferDataType<T>(), cancellationToken);
8584
return await this.GetAsyncCore<T>(definitionId, objectId, cancellationToken).ConfigureAwait(false);

0 commit comments

Comments
 (0)