Skip to content

Commit

Permalink
Avoid calling OnAfterCall for the second time, close #95.
Browse files Browse the repository at this point in the history
  • Loading branch information
yallie committed Dec 6, 2024
1 parent 1612f77 commit 1e72abb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CoreRemoting/RemotingSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ private void ProcessRpcMessage(WireMessage request)
returnValue: result);
}

((RemotingServer)_server).OnAfterCall(serverRpcContext);
if (serverRpcContext.Exception == null)
((RemotingServer)_server).OnAfterCall(serverRpcContext);

if (oneWay)
return;
Expand Down

0 comments on commit 1e72abb

Please sign in to comment.