cleanup ts unload
This commit is contained in:
parent
56f13f9660
commit
e5c06cf359
@ -130,13 +130,12 @@ class TeamSpeakPlugin implements CallbackListener, CommandListener, ManialinkPag
|
||||
*/
|
||||
public function unload() {
|
||||
$this->serverData = array();
|
||||
$this->lastRequest = null;
|
||||
|
||||
$this->maniaControl->actionsMenu->removeMenuItem(1, true);
|
||||
$this->maniaControl->manialinkManager->unregisterManialinkPageAnswerListener($this);
|
||||
$this->maniaControl->callbackManager->unregisterCallbackListener($this);
|
||||
$this->maniaControl->commandManager->unregisterCommandListener($this);
|
||||
$this->maniaControl = null;
|
||||
unset($this->maniaControl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user