gnome-shell/js
Hyungwon Hwang e72d388a67 background: free MetaBackground explicitly when its MetaBackgroundActor is destroyed
The memory which MetaBackground resides is freed automatically, when its
wrapper object Background is freed by garbage collection. But because the
memory for MetaBackground is huge, changing the background or changing the
background mode repeatedly makes a lot of memory to be in use until garbage
collection runs.

This patch frees the MetaBackground object explicitly when its
MetaBackgroundActor is destroyed which is the moment that the memory in the
object is not used anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=766353

Signed-off-by: Hyungwon Hwang <hyungwon.hwang7@gmail.com>
2016-06-29 13:27:10 +02:00
..
extensionPrefs extensionPrefs: Stop using custom CSS 2016-03-10 18:16:33 +01:00
gdm authPrompt: Do not allow bypassing disabled Sign In button 2016-01-07 17:19:04 -06:00
misc loginManager: Extend canSuspend() callback 2016-05-27 17:04:46 +02:00
perf Revert accidental commit "Test stuff" 2014-09-03 13:47:18 -04:00
portalHelper PortalHelper: Make translator comment appear 2015-01-28 13:47:56 +01:00
ui background: free MetaBackground explicitly when its MetaBackgroundActor is destroyed 2016-06-29 13:27:10 +02:00
js-resources.gresource.xml calendar: Add Media section 2016-02-17 15:15:16 +01:00
Makefile.am js/Makefile.am: Fix dependency generation with srcdir != builddir 2014-06-29 18:27:53 -04:00