pocketmine\MemoryManager::removeObjectWatch PHP Method

removeObjectWatch() public method

public removeObjectWatch ( $id )
    public function removeObjectWatch($id)
    {
        if (!isset($this->leakWatch[$id])) {
            return;
        }
        unset($this->leakInfo[$this->leakInfo[$id]["hash"]]);
        unset($this->leakInfo[$id]);
        unset($this->leakWatch[$id]);
    }