B2G/gecko/dom/mobilemessage/src/ril/MmsService.js
/**
     * Release the MMS network connection.
     */
Release the MMS network connection.
Release the MMS network connection .
function release() {
      this.refCount--;
      if (this.refCount <= 0) {
        this.refCount = 0;
        this.disconnectTimer.
          initWithCallback(this.onDisconnectTimerTimeout.bind(this),
                           TIME_TO_RELEASE_MMS_CONNECTION,
                           Ci.nsITimer.TYPE_ONE_SHOT);
      }
    }
function release ( ) { this . refCount -- ; if ( this . refCount <= 0 ) { this . refCount = 0 ; this . disconnectTimer . initWithCallback ( this . onDisconnectTimerTimeout . bind ( this ) , TIME_TO_RELEASE_MMS_CONNECTION , Ci . nsITimer . TYPE_ONE_SHOT ) ; } }
Release the MMS network connection.
Release the MMS network connection .
// Set a timer to delay the release of MMS network connection, // since the MMS requests often come consecutively in a short time.