Skip to content

Commit

Permalink
Allow non-varargs to get wrapped with sync
Browse files Browse the repository at this point in the history
This early return skipped logic below to wrap the invoker with
synchronization.
  • Loading branch information
headius committed Jan 4, 2022
1 parent 773ee60 commit 6886ebd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public Invoker createInvoker(Method method) {
marshallers[i] = getMarshaller(parameterTypes[i]);
}

return new DefaultInvoker(runtime, library, function, functionInvoker, marshallers);
invoker = new DefaultInvoker(runtime, library, function, functionInvoker, marshallers);
}

//
Expand Down

0 comments on commit 6886ebd

Please sign in to comment.