plugins unregistering from timerlistener

This commit is contained in:
kremsy
2014-02-01 14:50:24 +01:00
committed by Steffen Schröder
parent d701daeed7
commit 2ffa4b47c4
7 changed files with 8 additions and 1 deletions

View File

@ -139,6 +139,7 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
$this->closeWidget(self::MLID_MAPWIDGET);
$this->closeWidget(self::MLID_NEXTMAPWIDGET);
$this->maniaControl->callbackManager->unregisterCallbackListener($this);
$this->maniaControl->timerManager->unregisterTimerListenings($this);
unset($this->maniaControl);
}