Whoops, close DropDown windows before disposing

This commit is contained in:
Simon Robertshaw
2012-08-14 14:47:58 +01:00
parent db519a7036
commit cee8458953

View File

@@ -71,6 +71,7 @@ public:
} }
virtual void OnTryExit(ExitMethod method) virtual void OnTryExit(ExitMethod method)
{ {
ui::Engine::Ref().CloseWindow();
SelfDestruct(); SelfDestruct();
} }
virtual ~DropDownWindow() {} virtual ~DropDownWindow() {}