PHPDaemon\Core\Timer::free PHP Method

free() public method

Frees the timer
public free ( ) : void
return void
    public function free()
    {
        unset(self::$list[$this->id]);
        if ($this->ev !== null) {
            $this->ev->free();
            $this->ev = null;
        }
    }