diff options
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.c | 2 |
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 |