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