explicitly deconstruct the empty_menu
which uses the "construct on first use" idiom.
This commit is contained in:
parent
28b06edc9d
commit
f665858233
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue