function onUnload() { $this->queueable = array(); $this->queue = array(); $this->lastWorst = array(); $this->mapsPlayed = array(); $this->lastActivityTime = array(); ActionHandler::getInstance()->deleteAction($this->enterQueueAction); ActionHandler::getInstance()->deleteAction($this->leaveQueueAction); Queue::EraseAll(); Queue::Clear(); FreeSpot::EraseAll(); parent::onUnload(); }
function onUnload() { Monitor::getInstance()->stop(); Stats::EraseAll(); Stats::Clear(); parent::onUnload(); }
function onUnload() { if ($this->matchMakingService instanceof Services\MatchMakingService && $this->matchId) { $this->matchMakingService->updateMatchState($this->matchId, Services\Match::FINISHED); $this->end(); } $this->connection->customizeQuitDialog('', '', true, 0); parent::onUnload(); }
function onUnload() { Vote::Unload(); Vote::EraseAll(); parent::onUnload(); }
function onUnload() { $this->db->execute('DELETE FROM Servers WHERE hostname = %s AND port = %d', $this->db->quote(Config::getInstance()->host), Config::getInstance()->port); parent::onUnload(); }
function onUnload() { $this->setLobbyInfo(false); parent::onUnload(); }
function onUnload() { ChooseMode::EraseAll(); parent::onUnload(); }
function onUnload() { Menu::EraseAll(); parent::onUnload(); }
function onUnload() { parent::onUnload(); Manager::ErasePlugins(); if ($this->threadId) { ThreadHandler::getInstance()->killThread($this->threadId); } }