From 7fa641616b4c1c2ef8b209618d4b158d45e370c4 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 10 Feb 2014 20:23:09 +0000 Subject: Free help before attempting to close the screen, as it doesn't consider itself a visitor window. --- amiga/gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index c5ef66907..6c44dc67e 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -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); -- cgit v1.2.3