Wrote code to help automatically detect bugs.
Have invocation marshallers track whether someone ever ended up responding to the client: if they get garbage collected without ever doing so (and they're not the base class InvocationMarshaller, which can only report errors), log an informative error message. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3792 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -256,6 +256,10 @@ public class InvocationManager
|
||||
|
||||
// dispatch the request
|
||||
try {
|
||||
if (rlist != null) {
|
||||
rlist.setInvocationId(StringUtil.shortClassName(disp) +
|
||||
", methodId=" + methodId);
|
||||
}
|
||||
disp.dispatchRequest(source, methodId, args);
|
||||
|
||||
} catch (InvocationException ie) {
|
||||
|
||||
Reference in New Issue
Block a user