GUI: clean PUI junk on GUI shutdown
This commit is contained in:
parent
5d2bb87601
commit
51bb8ed5ce
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue