From 60690c1e70e1caf8af8e03c8304e5e036f7d2e3f Mon Sep 17 00:00:00 2001 From: Vaci Koblizek Date: Thu, 26 Nov 2020 15:21:02 +0000 Subject: [PATCH] fix construction of never-resolving pipeline --- runtime-rpc/src/main/java/org/capnproto/RpcState.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime-rpc/src/main/java/org/capnproto/RpcState.java b/runtime-rpc/src/main/java/org/capnproto/RpcState.java index 2c62f14..52f70e1 100644 --- a/runtime-rpc/src/main/java/org/capnproto/RpcState.java +++ b/runtime-rpc/src/main/java/org/capnproto/RpcState.java @@ -1560,7 +1560,9 @@ final class RpcState { * Construct a new RpcPipeline that is never expected to resolve. */ RpcPipeline(QuestionRef questionRef) { - this(questionRef, null); + this.questionRef = questionRef; + this.redirectLater = null; + this.resolveSelf = null; } @Override