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:
@@ -27,6 +27,7 @@ public class ${name}Marshaller extends InvocationMarshaller
|
||||
// documentation inherited from interface
|
||||
public void $lm.method.name ($lm.getArgList(false))
|
||||
{
|
||||
_invId = null;
|
||||
omgr.postEvent(new InvocationResponseEvent(
|
||||
callerOid, requestId, $lm.code,
|
||||
new Object[] { $lm.getWrappedArgList(false) }));
|
||||
|
||||
Reference in New Issue
Block a user