Skip to content

Commit 0050594

Browse files
committed
Mono doesn't support Task.CompletedTask.
1 parent 1962dfa commit 0050594

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Memory/RemoteProcess.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,9 @@ public Task UpdateProcessInformationsAsync()
517517
sections.Clear();
518518
}
519519

520-
return Task.CompletedTask;
520+
// TODO: Mono doesn't support Task.CompletedTask at the moment.
521+
//return Task.CompletedTask;
522+
return Task.FromResult(true);
521523
}
522524

523525
return Task.Run(() =>

0 commit comments

Comments
 (0)