1
0
Fork 0

GUI: clean PUI junk on GUI shutdown

This commit is contained in:
James Turner 2020-08-12 16:36:22 +01:00
parent 5d2bb87601
commit 51bb8ed5ce

View file

@ -45,6 +45,8 @@
using std::map;
using std::string;
extern void puCleanUpJunk(void);
////////////////////////////////////////////////////////////////////////
// Implementation of NewGUI.
////////////////////////////////////////////////////////////////////////
@ -108,6 +110,8 @@ NewGUI::shutdown()
fgUntie("/sim/menubar/visibility");
_menubar.reset();
_dialog_props.clear();
puCleanUpJunk();
}
void