appDisplay: Avoid using an undefined _swipeTracker
It might have been deleted already during shutdown by `_onDestroy()`. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6512 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2693>
This commit is contained in:
parent
58af42caea
commit
b8013704cf
@ -1237,6 +1237,7 @@ var BaseAppView = GObject.registerClass({
|
||||
}
|
||||
|
||||
vfunc_unmap() {
|
||||
if (this._swipeTracker)
|
||||
this._swipeTracker.enabled = false;
|
||||
this._disconnectDnD();
|
||||
super.vfunc_unmap();
|
||||
|
Loading…
Reference in New Issue
Block a user