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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user