summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 58e7938fd..2521acbfd 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3049,6 +3049,8 @@ static void gui_quit(void)
FreeVec(current_user_faviconcache);
FreeVec(current_user);
+ ami_object_fini();
+
ami_libs_close();
}
@@ -5497,6 +5499,8 @@ int main(int argc, char** argv)
/* Open splash window */
Object *splash_window = ami_gui_splash_open();
+ ami_object_init();
+
if (ami_open_resources() == false) { /* alloc message ports */
ami_misc_fatal_error("Unable to allocate resources");
ami_gui_splash_close(splash_window);