Fail earlier here if we have no _clobj. I have been seeing this in testing,

though annoyingly now I can't reproduce it. Call Heisenberg!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5712 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-04-08 20:32:47 +00:00
parent e90fb7465d
commit 7f97d41fd5
@@ -181,6 +181,10 @@ public class InvocationDirector
*/
public function sendRequest (invOid :int, invCode :int, methodId :int, args :Array) :void
{
if (_clobj == null) { // sanitus checkem
throw new Error("Can't send invocation request, have no ClientObject.");
}
// configure any invocation listener marshallers among the args
for each (var arg :Object in args) {
if (arg is InvocationMarshaller_ListenerMarshaller) {