public function testRelease() { $result = \Comodojo\Extender\Queue::release(); $this->assertTrue($result); }
/** * Delete all status file after exit() called * */ public final function shutdown($force = false) { if ($this->parent_pid == posix_getpid()) { $this->logger->info("Shutdown in progress, cleaning environment"); Lock::release(); Status::release(); Queue::release(); Planner::release(); } if ($force === true) { $this->logger->info("Shutdown in progress, cleaning environment"); Status::release(); Queue::release(); Planner::release(); } }