Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
fix: call ResponseMetadataHanlder#onTrailers before calling onClose (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Nov 3, 2021
1 parent d5c10c6 commit 19a77a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public void onHeaders(Metadata headers) {

@Override
public void onClose(Status status, Metadata trailers) {
super.onClose(status, trailers);
metadataHandler.onTrailers(trailers);
super.onClose(status, trailers);
}
};
super.start(forwardingResponseListener, headers);
Expand Down

0 comments on commit 19a77a4

Please sign in to comment.