MDL-49740 Lock: Fixed task lock release bugs
This commit is contained in:
@@ -236,7 +236,7 @@ class postgres_lock_factory implements lock_factory {
|
||||
// Called from the shutdown handler. Must release all open locks.
|
||||
foreach ($this->openlocks as $key => $unused) {
|
||||
$lock = new lock($key, $this);
|
||||
$this->release_lock($lock);
|
||||
$lock->release();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user