Free help before attempting to close the screen, as it doesn't consider itself a visitor window.

This commit is contained in:
Chris Young 2014-02-10 20:23:09 +00:00
parent e975b355f5
commit 7fa641616b
1 changed files with 1 additions and 2 deletions

View File

@ -2819,6 +2819,7 @@ static void gui_quit(void)
ami_free_layers(&browserglob);
ami_close_fonts();
ami_help_free();
LOG(("Closing screen"));
ami_gui_close_screen(scrn, locked_screen, FALSE);
@ -2836,9 +2837,7 @@ static void gui_quit(void)
FreeSysObject(ASOT_PORT,appport);
FreeSysObject(ASOT_PORT,sport);
ami_help_free();
ami_file_req_free();
ami_openurl_close();
FreeStringClass(urlStringClass);