public function auto_release() {
        // Called from the shutdown handler. Must release all open locks.
        foreach ($this->openlocks as $key => $unused) {
            $lock = new lock($key, $this);
            $lock->release();
        }
    }
public function auto_release() {
        // Called from the shutdown handler. Must release all open locks.
        foreach ($this->openlocks as $key => $unused) {
            $lock = new lock($key, $this);
            $lock->release();
        }
    }
public function auto_release ( ) { // Called from the shutdown handler. Must release all open locks. foreach ( $ this -> openlocks as $ key => $ unused ) { $ lock = new lock ( $ key , $ this ) ; $ lock -> release ( ) ; } }
Auto release any open locks on shutdown.
This is required, because we may be using persistent DB connections.
Auto release any open locks on shutdown . This is required because we may be using persistent DB connections .