Просмотр исходного кода

Remove redundant removeAllHandlersForListener() in dtor

- Already called at top of method.
Nur Monson 12 лет назад
Родитель
Сommit
50a8687ab1
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      Modules/Contents/UI/Source/PolyUIMenu.cpp

+ 0 - 2
Modules/Contents/UI/Source/PolyUIMenu.cpp

@@ -200,8 +200,6 @@ UIMenu::~UIMenu() {
 	if(!ownsChildren) {	
 		delete dropDownBox;
 	}
-	
-	CoreServices::getInstance()->getCore()->getInput()->removeAllHandlersForListener(this);
 }
 
 UIMenuItem *UIMenu::addOption(String label, String _id, void *data) {