plugins unregistering from timerlistener

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:11 +02:00
1 parent d701daeed7
commit 2ffa4b47c4
7 files changed
+8 -1

No files matched your search

+1
View File
@@ -191,6 +191,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
$this->maniaControl->commandManager->unregisterCommandListener($this);
$this->maniaControl->callbackManager->unregisterCallbackListener($this);
$this->maniaControl->manialinkManager->unregisterManialinkPageAnswerListener($this);
$this->maniaControl->timerManager->unregisterTimerListenings($this);
unset($this->maniaControl);
}