function TC_detach(aOnResponse) {
    let self = this;
    let packet = { to: this._actor, type: DebugProtocolTypes.detach };
    this._client.request(packet, function(aResponse) {
      if (self.activeThread === self._client._threadClients[self._actor]) {
        delete self.activeThread;
      }
      delete self._client._threadClients[self._actor];
      if (aOnResponse) {
        aOnResponse(aResponse);
      }
    });
  }
/**
   * Detach from the thread actor.
   *
   * @param function aOnResponse
   *        Called with the response packet.
   */
Detach from the thread actor.
@param function aOnResponse
Called with the response packet.
Detach from the thread actor . @param function aOnResponse Called with the response packet .
function TC_detach(aOnResponse) {
    let self = this;
    let packet = { to: this._actor, type: DebugProtocolTypes.detach };
    this._client.request(packet, function(aResponse) {
      if (self.activeThread === self._client._threadClients[self._actor]) {
        delete self.activeThread;
      }
      delete self._client._threadClients[self._actor];
      if (aOnResponse) {
        aOnResponse(aResponse);
      }
    });
  }
function TC_detach ( aOnResponse ) { let self = this ; let packet = { to : this . _actor , type : DebugProtocolTypes . detach } ; this . _client . request ( packet , function ( aResponse ) { if ( self . activeThread === self . _client . _threadClients [ self . _actor ] ) { delete self . activeThread ; } delete self . _client . _threadClients [ self . _actor ] ; if ( aOnResponse ) { aOnResponse ( aResponse ) ; } } ) ; }
Detach from the thread actor.
Detach from the thread actor .