public static function LockMemcache::shutdown in Ultimate Cron 8.2
Shutdown handler for releasing locks.
File
- src/
Lock/ LockMemcache.php, line 15
Class
- LockMemcache
- Class for handling lock functions.
Namespace
Drupal\ultimate_cron\LockCode
public static function shutdown() {
if (self::$locks) {
foreach (array_keys(self::$locks) as $lock_id) {
self::unlock($lock_id);
}
}
}