From 8abc2781cca70eaa77af25a5966fa4543acef426 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 4 Oct 2007 16:06:13 +0200 Subject: [PATCH] force GC after every frame so we get rid of dead frames --- vivified/core/vivi_application.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vivified/core/vivi_application.c b/vivified/core/vivi_application.c index b9b28115..c52bf1e8 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -141,6 +141,8 @@ vivi_application_init (ViviApplication *app) app->debugger = g_object_new (VIVI_TYPE_DEBUGGER, NULL); app->debugger->app = app; app->player = swfdec_gtk_player_new (SWFDEC_AS_DEBUGGER (app->debugger)); + /* FIXME: to get rid of dead movie clips, we GC all the time */ + g_object_set (app->player, "memory-until-gc", (gulong) 0, NULL); app->wraps = g_hash_table_new (g_direct_hash, g_direct_equal); } -- 2.11.4.GIT