Closed kernel32uiuc closed 7 years ago
Task.Factory.StartNew returns a nested task (Task). Awaiting a nested task is dangerous so we should always unwrap the nested task (with Unwrap() or using Task.Run) and await the inner task.
Task.Factory.StartNew returns a nested task (Task). Awaiting a nested task is dangerous so we should always unwrap the nested task (with Unwrap() or using Task.Run) and await the inner task.