summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
index d73e21d..d6069ec 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
@@ -318,7 +318,7 @@ namespace System.Runtime.CompilerServices
{
if (Task.s_asyncDebuggingEnabled)
{
- Task.RemoveFromActiveTasks(innerTask.Id);
+ Task.RemoveFromActiveTasks(innerTask);
}
TplEtwProvider innerEtwLog = TplEtwProvider.Log;