~ubuntu-branches/ubuntu/vivid/gnome-shell/vivid

« back to all changes in this revision

Viewing changes to src/shell-global.c

  • Committer: Package Import Robot
  • Author(s): Tim Lunn
  • Date: 2013-07-29 01:00:57 UTC
  • Revision ID: package-import@ubuntu.com-20130729010057-ubs2s7fjhy2fupfb
Tags: 3.8.3-1ubuntu5
* debian/control.in:
  - Build-depend on gjs 1.37 (with mozjs17). This should noticeably reduce
    memory leaks and garbage collector lock ups (LP: #1205971, #1113166)
* debian/patches:
  - revert-disable-periodic-gc.patch: this is safe to re-enable with mozjs17
  - git_gjs_api_change.patch: update for minor api change in gjs 1.37

Show diffs side-by-side

added added

removed removed

Lines of Context:
1447
1447
  if (global->work_count > 0)
1448
1448
    return FALSE;
1449
1449
 
 
1450
  /* Previously we called gjs_maybe_gc().  However, it simply doesn't
 
1451
   * trigger often enough.  Garbage collection is very fast here, so
 
1452
   * let's just aggressively GC.  This will help avoid both heap
 
1453
   * fragmentation, and the GC kicking in when we don't want it to.
 
1454
   */
 
1455
  gjs_context_gc (global->js_context);
 
1456
 
1450
1457
  /* No leisure closures, so we are done */
1451
1458
  if (global->leisure_closures == NULL)
1452
1459
    return FALSE;