Just `unset($this->apps[$app]);`, get rid of the array search.