diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 17afb899d..75a458f7b 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1237,7 +1237,8 @@ var BaseAppView = GObject.registerClass({ } vfunc_unmap() { - this._swipeTracker.enabled = false; + if (this._swipeTracker) + this._swipeTracker.enabled = false; this._disconnectDnD(); super.vfunc_unmap(); }