aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-21 16:15:45 +0800
committerXan Lopez <xan@gnome.org>2009-08-21 16:16:17 +0800
commit61d1af96a4b707f4a84f717f689034129141116b (patch)
tree4b165de0ce7b28b5bb98aead2c227048c1d6e10c
parent553b5f4d4cf0ff8e782cbcc0117cc08d6eaae457 (diff)
downloadgsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.gz
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.zst
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.zip
ephy-seed-extension: force a GC cycle after detachs.
This should help with memory management/lifecycle woes, although it does not seem to fix bug #573551
-rw-r--r--configure.ac2
-rw-r--r--src/ephy-seed-extension.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 27c0fbd46..17c64c4f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,7 +267,7 @@ fi
if test "$enable_seed" = "yes"; then
EPIPHANY_FEATURES="$EPIPHANY_FEATURES seed"
- SEED_REQUIRED=0
+ SEED_REQUIRED=2.27.91
PKG_CHECK_MODULES([SEED],[seed >= $SEED_REQUIRED])
AC_DEFINE([ENABLE_SEED],[1],[Define to compile with Seed support])
diff --git a/src/ephy-seed-extension.c b/src/ephy-seed-extension.c
index c8a07bf91..64f0e7db7 100644
--- a/src/ephy-seed-extension.c
+++ b/src/ephy-seed-extension.c
@@ -105,6 +105,7 @@ impl_detach_tab (EphyExtension *extension,
EphyEmbed *embed)
{
call_seed_func (extension, "detach_tab", window, embed);
+ seed_context_collect (global_eng->context);
}
static void
@@ -119,6 +120,7 @@ impl_detach_window (EphyExtension *extension,
EphyWindow *window)
{
call_seed_func (extension, "detach_window", window, NULL);
+ seed_context_collect (global_eng->context);
}
static void