gnome-shell/js/ui
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
..
components NetworkAgent: Handle VPN service aliases 2016-06-03 18:27:46 +01:00
status keyboard: save the MRU input sources list when switching 2016-05-27 10:46:58 -07:00
altTab.js altTab: Take over cycle-windows/cycle-group keybindings 2016-05-19 17:34:00 +02:00
animation.js animation: do spinner animation with low priority 2015-10-20 17:10:06 -04:00
appDisplay.js AppIconMenu: properly destroy on source destroy. 2016-05-27 01:03:25 +02:00
appFavorites.js appFavorites: Update Nibbles in rename list 2016-02-12 20:17:02 -06:00
audioDeviceSelection.js audioDeviceSelection: Add audio device selection dialog 2016-02-16 17:02:00 +01:00
background.js background: free MetaBackground explicitly when its MetaBackgroundActor is destroyed 2016-06-29 13:27:10 +02:00
backgroundMenu.js Add Display Settings to Background Menu. 2015-04-14 23:18:49 +02:00
boxpointer.js boxpointer: Add condition checks for -arrow-rise:0px 2014-01-15 18:28:31 +01:00
calendar.js Use the org.gnome.desktop.calendar schema instead of our own 2016-05-26 23:05:24 +02:00
checkBox.js checkBox: Remove custom container implementation 2013-08-20 08:06:30 +02:00
ctrlAltTab.js Use dedicated icons for top bar/windows in ctrl-alt-tab 2015-03-13 17:12:10 +01:00
dash.js theme: use update icon for app grid 2016-02-12 12:12:02 +01:00
dateMenu.js calendar: Split out message list base classes 2016-02-17 14:56:52 +01:00
dnd.js dnd: Cancel the animation on drag actor destruction 2016-04-27 18:22:00 +02:00
edgeDragAction.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
endSessionDialog.js endSessionDialog: Fix DialogContent const 2014-09-11 17:05:48 +01:00
environment.js st: Remove StTable 2015-05-05 16:37:41 +02:00
extensionDownloader.js theme: modal dialog headlines 2015-03-10 19:16:28 +01:00
extensionSystem.js extensionSystem: Fix updating extension list on session update 2015-12-16 23:50:42 +01:00
focusCaretTracker.js a11y: initialize atspi on demand 2014-06-20 14:32:55 +02:00
grabHelper.js grabHelper: Adjust to property name change 2014-08-28 19:49:51 +02:00
ibusCandidatePopup.js ibusCandidatePopup: Handle relative cursor signal absence gracefully 2016-02-17 18:01:02 +01:00
iconGrid.js iconGrid: Fix slowness on pulse animation for few items 2014-10-09 12:47:16 +02:00
keyboard.js keyboard: Don't watch D-Bus services we won't use 2015-07-23 15:07:10 +02:00
layout.js layout: Set initial visibility of fullscreen-tracking chrome 2015-05-21 13:58:49 +02:00
legacyTray.js legacyTray: Style the slider's child, not the slider 2016-03-03 17:09:47 +01:00
lightbox.js lightbox: Do not assume GLSL is available 2014-07-24 16:51:02 +02:00
lookingGlass.js lookingGlass: Remove ugly hack 2015-02-14 18:20:28 +01:00
magnifier.js magnifier: Avoid caret/focus viewport changes while the pointer moves 2015-07-27 18:04:44 +02:00
magnifierDBus.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
main.js main: Reload theme on video memory purge errors 2016-06-28 19:53:17 +02:00
messageList.js messageList: Add missing import 2016-02-22 19:33:17 +01:00
messageTray.js messageTray: Remove _fixMarkup() function 2015-06-11 14:41:34 +02:00
modalDialog.js modalDialog: Fix invalid argument 'timestamp' for pushModal 2016-04-14 11:10:51 +02:00
mpris.js calendar: Add Media section 2016-02-17 15:15:16 +01:00
notificationDaemon.js NotificationDaemon: stop filtering notifications from empathy 2015-03-03 14:20:48 -08:00
osdMonitorLabeler.js osdMonitorLabeler: avoid tweening the labels 2015-06-29 14:57:03 -07:00
osdWindow.js osdWindow: don't use custom cairo drawing 2016-05-20 17:28:06 -07:00
overview.js overview: Move overview actions and scrolling to background group 2016-06-27 16:31:00 +02:00
overviewControls.js overview: Move overview actions and scrolling to background group 2016-06-27 16:31:00 +02:00
panel.js ActivitiesButton: fix overview being toggled while still animating 2015-10-23 13:44:27 +02:00
panelMenu.js panel: Set up 'open-state-changed' handler on menu changes 2015-04-30 18:12:52 +02:00
pointerWatcher.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
popupMenu.js popupMenu: Fix touch handling of PopupSubMenuMenuItem 2015-12-04 11:50:13 +01:00
remoteMenu.js popupMenu: Remove our custom allocation code 2013-08-13 06:50:25 -04:00
remoteSearch.js Search: use the same settings object for loading search providers 2015-03-27 13:11:22 -07:00
runDialog.js runDialog: Reload resource on 'rt' 2015-10-21 20:54:30 +02:00
screencast.js screencast: Make it possible to disable draw-cursor 2015-02-17 08:35:24 +01:00
screenShield.js screenShield: Chain up Arrow's style_changed vfunc 2016-06-28 19:53:17 +02:00
screenshot.js screenshot: fix off-by-one selection size 2015-03-14 16:04:23 -07:00
scripting.js shell-perf-helper: Add an option for continual redraws 2014-07-16 10:33:59 -04:00
search.js Search: use the same settings object for loading search providers 2015-03-27 13:11:22 -07:00
separator.js js: Explicitly dispose all cairo contexts 2013-01-08 13:07:51 -05:00
sessionMode.js sessionMode: Don't set overridesSchema 2014-06-09 22:39:15 +02:00
shellDBus.js Add an OSD monitor labeler exposed on DBus 2015-02-05 13:34:52 +01:00
shellEntry.js shellEntry: Remove unused style class 2014-09-05 14:37:18 -07:00
shellMountOperation.js theme: modal dialog headlines 2015-03-10 19:16:28 +01:00
slider.js slider: Emit a 'drag-begin' signal when starting to drag 2016-01-27 22:35:11 +00:00
switcherPopup.js switcher: Remove some unused variables 2014-11-27 13:30:20 +00:00
tweener.js tweener: Also consider delay when disabling animations 2014-08-19 19:46:44 +02:00
unlockDialog.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
userWidget.js loginDialog: Pass-through UserWidget's label-actor 2015-03-06 17:24:13 +01:00
viewSelector.js theme: use update icon for app grid 2016-02-12 12:12:02 +01:00
windowAttentionHandler.js windowAttentionHandler: Fix whitespace 2015-07-01 19:14:13 +02:00
windowManager.js windowManager: Avoid code duplication 2016-05-19 17:34:00 +02:00
windowMenu.js windowMenu: Ensure the source actor isn't sized 0x0 2015-10-20 15:00:33 +02:00
workspace.js workspace: Keep track of the dragging touch sequence 2015-12-04 12:16:56 +01:00
workspacesView.js workspacesView: Consider workspaces-only-on-primary when panning 2016-06-27 16:31:00 +02:00
workspaceSwitcherPopup.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
workspaceThumbnail.js workspaceThumbnail: Fix size request signatures 2016-04-21 16:04:04 +02:00
xdndHandler.js Remove use of superfluous MetaWindowActor APIs 2013-12-16 12:48:53 -05:00