diff --git a/Capnp.Net.Runtime/Util/StrictlyOrderedAwaitTask.cs b/Capnp.Net.Runtime/Util/StrictlyOrderedAwaitTask.cs index 035fea8..7567bf3 100644 --- a/Capnp.Net.Runtime/Util/StrictlyOrderedAwaitTask.cs +++ b/Capnp.Net.Runtime/Util/StrictlyOrderedAwaitTask.cs @@ -111,7 +111,7 @@ namespace Capnp.Util /// /// Whether the underlying task did complete and it is safe to skip continuation registration. /// - public bool IsCompleted => _awaitedTask.IsCompleted && _state == s_seal; + public bool IsCompleted => _awaitedTask.IsCompleted && (_state == s_cover || _state == s_seal); /// /// Part of await pattern implementation. Do not use directly.