summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 6b18ccdcd..b7c5585ad 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2761,14 +2761,20 @@ void gui_quit(void)
ami_free_layers(&browserglob);
ami_close_fonts();
+
+ LOG(("Closing screen"));
ami_gui_close_screen(scrn, locked_screen);
FreeVec(nsscreentitle);
+ LOG(("Freeing menu items"));
ami_context_menu_free();
ami_menu_free_glyphs();
+ LOG(("Freeing mouse pointers"));
ami_mouse_pointers_free();
+ LOG(("Freeing clipboard"));
ami_clipboard_free();
+
ami_print_free();
FreeSysObject(ASOT_PORT,appport);
@@ -2786,6 +2792,7 @@ void gui_quit(void)
if(IKeymap) DropInterface((struct Interface *)IKeymap);
if(KeymapBase) CloseLibrary(KeymapBase);
+ LOG(("Freeing scheduler"));
ami_schedule_free();
ami_schedule_close_timer();