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();
 }
Esempio n. 2
0
 function onUnload()
 {
     Monitor::getInstance()->stop();
     Stats::EraseAll();
     Stats::Clear();
     parent::onUnload();
 }
Esempio n. 3
0
 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();
 }
Esempio n. 4
0
 function onUnload()
 {
     Vote::Unload();
     Vote::EraseAll();
     parent::onUnload();
 }
Esempio n. 5
0
 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();
 }
Esempio n. 6
0
 function onUnload()
 {
     $this->setLobbyInfo(false);
     parent::onUnload();
 }
Esempio n. 7
0
 function onUnload()
 {
     ChooseMode::EraseAll();
     parent::onUnload();
 }
Esempio n. 8
0
 function onUnload()
 {
     Menu::EraseAll();
     parent::onUnload();
 }
 function onUnload()
 {
     parent::onUnload();
     Manager::ErasePlugins();
     if ($this->threadId) {
         ThreadHandler::getInstance()->killThread($this->threadId);
     }
 }