_unlock: function()

in public/dexie.js [3271:3283]


      _unlock: function () {
        assert(!PSD.global); // Locking and unlocking reuires to be within a PSD scope.
        if (--this._reculock === 0) {
          if (!PSD.global) PSD.lockOwnerFor = null;
          while (this._blockedFuncs.length > 0 && !this._locked()) {
            var fnAndPSD = this._blockedFuncs.shift();
            try {
              usePSD(fnAndPSD[1], fnAndPSD[0]);
            } catch (e) {}
          }
        }
        return this;
      },