protected function removeCall(Call $call)
    {
        $call->getProcedure()->removeCall($call);
        unset($this->callInvocationIndex[$call->getInvocationRequestId()]);
        unset($this->callRequestIndex[$call->getCallMessage()->getRequestId()]);
        if ($call->getCancelMessage()) {
            unset($this->callCancelIndex[$call->getCancelMessage()->getRequestId()]);
        }
        if ($call->getInterruptMessage()) {
            unset($this->callInterruptIndex[$call->getInterruptMessage()->getRequestId()]);
        }
    }
protected function removeCall(Call $call)
    {
        $call->getProcedure()->removeCall($call);
        unset($this->callInvocationIndex[$call->getInvocationRequestId()]);
        unset($this->callRequestIndex[$call->getCallMessage()->getRequestId()]);
        if ($call->getCancelMessage()) {
            unset($this->callCancelIndex[$call->getCancelMessage()->getRequestId()]);
        }
        if ($call->getInterruptMessage()) {
            unset($this->callInterruptIndex[$call->getInterruptMessage()->getRequestId()]);
        }
    }
protected function removeCall ( Call $ call ) { $ call -> getProcedure ( ) -> removeCall ( $ call ) ; unset ( $ this -> callInvocationIndex [ $ call -> getInvocationRequestId ( ) ] ) ; unset ( $ this -> callRequestIndex [ $ call -> getCallMessage ( ) -> getRequestId ( ) ] ) ; if ( $ call -> getCancelMessage ( ) ) { unset ( $ this -> callCancelIndex [ $ call -> getCancelMessage ( ) -> getRequestId ( ) ] ) ; } if ( $ call -> getInterruptMessage ( ) ) { unset ( $ this -> callInterruptIndex [ $ call -> getInterruptMessage ( ) -> getRequestId ( ) ] ) ; } }
This removes all references to calls so they can be GCed

@param Call $call
This removes all references to calls so they can be GCed