Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
public static void RemoveFromActiveTasks(Task task)
{
if (Task.s_asyncDebuggingEnabled)
- Task.RemoveFromActiveTasks(task.Id);
+ Task.RemoveFromActiveTasks(task);
}
public static bool LoggingOn
// only log if we have a real task that was previously created
if (System.Threading.Tasks.Task.s_asyncDebuggingEnabled)
{
- System.Threading.Tasks.Task.RemoveFromActiveTasks(m_task.Id);
+ System.Threading.Tasks.Task.RemoveFromActiveTasks(m_task);
}
}