explicitly deconstruct the empty_menu

which uses the "construct on first use" idiom.
This commit is contained in:
Patrick Parker 2006-11-12 19:02:52 +00:00
parent 28b06edc9d
commit f665858233

View file

@ -33,6 +33,7 @@
#include "intro.hpp"
#include "language.hpp"
#include "loadscreen.hpp"
#include "widgets/menu.hpp"
#include "multiplayer.hpp"
#include "network.hpp"
#include "playcampaign.hpp"
@ -1912,7 +1913,7 @@ int main(int argc, char** argv)
std::cerr << "Unhandled exception. Exiting\n";
}
#endif
delete gui::empty_menu;
filesystem_close();
return 0;