[epiphany] ephy-seed-extension: force a GC cycle after detachs.
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-seed-extension: force a GC cycle after detachs.
- Date: Fri, 21 Aug 2009 08:18:37 +0000 (UTC)
commit 61d1af96a4b707f4a84f717f689034129141116b
Author: Xan Lopez <xan gnome org>
Date: Fri Aug 21 11:15:45 2009 +0300
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
configure.ac | 2 +-
src/ephy-seed-extension.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 27c0fbd..17c64c4 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 c8a07bf..64f0e7d 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]