From 457c7adf59cde30b01118f4707569ac1bceff0c5 Mon Sep 17 00:00:00 2001 From: Maxim Ermilov Date: Fri, 28 Jan 2011 05:41:57 +0300 Subject: [PATCH] workspacesView: dispose _scrollAdjustment in _onDestroy https://bugzilla.gnome.org/show_bug.cgi?id=640781 --- js/ui/workspacesView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 5f95a882b..f53db7aea 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -476,6 +476,7 @@ WorkspacesView.prototype = { }, _onDestroy: function() { + this._scrollAdjustment.run_dispose(); Main.overview.disconnect(this._overviewShowingId); global.window_manager.disconnect(this._switchWorkspaceNotifyId); global.screen.disconnect(this._restackedNotifyId);