mirror of
https://github.com/elementary/gala.git
synced 2024-12-29 20:21:39 +03:00
Add null check for window in Plugin.end_switch_workspace
This commit is contained in:
parent
8d0058da80
commit
4b6bd93392
@ -722,7 +722,7 @@ namespace Gala
|
|||||||
|
|
||||||
for (var i=0;i<win.length ();i++) {
|
for (var i=0;i<win.length ();i++) {
|
||||||
var window = win.nth_data (i);
|
var window = win.nth_data (i);
|
||||||
if (window.is_destroyed ())
|
if (window == null || window.is_destroyed ())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (window.get_parent () == out_group) {
|
if (window.get_parent () == out_group) {
|
||||||
|
Loading…
Reference in New Issue
Block a user