mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -1237,7 +1237,8 @@ var BaseAppView = GObject.registerClass({
|
||||||
}
|
}
|
||||||
|
|
||||||
vfunc_unmap() {
|
vfunc_unmap() {
|
||||||
this._swipeTracker.enabled = false;
|
if (this._swipeTracker)
|
||||||
|
this._swipeTracker.enabled = false;
|
||||||
this._disconnectDnD();
|
this._disconnectDnD();
|
||||||
super.vfunc_unmap();
|
super.vfunc_unmap();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue