/** * Called when the request starts sleep * @return void */ public function onSleep() { Daemon::$context = null; $this->running = false; unset($_SESSION, $_GET, $_POST, $_COOKIE); Daemon::$process->setState(Daemon::WSTATE_IDLE); }
/** * Called when the request starts sleep * @return void */ public function onSleep() { Daemon::$req = null; Daemon::$context = null; $this->running = false; Daemon::$process->setState(Daemon::WSTATE_IDLE); }