aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-seed-extension.c
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 /src/ephy-seed-extension.c
parent553b5f4d4cf0ff8e782cbcc0117cc08d6eaae457 (diff)
downloadgsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.gz
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.bz2
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.lz
gsoc2013-epiphany-61d1af96a4b707f4a84f717f689034129141116b.tar.xz
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
Diffstat (limited to 'src/ephy-seed-extension.c')
-rw-r--r--src/ephy-seed-extension.c2
1 files changed, 2 insertions, 0 deletions
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