public static function UltimateCronLockMemcache::shutdown in Ultimate Cron 7.2
Shutdown handler for releasing locks.
File
- ./
ultimate_cron.memcache-lock.inc, line 20 - A memcached-mediated implementation of a locking mechanism.
Class
- UltimateCronLockMemcache
- Class for handling lock functions.
Code
public static function shutdown() {
if (self::$locks) {
foreach (array_keys(self::$locks) as $lock_id) {
self::unlock($lock_id);
}
}
}