mirror of
https://github.com/elementary/gala.git
synced 2024-12-28 19:55:40 +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++) {
|
||||
var window = win.nth_data (i);
|
||||
if (window.is_destroyed ())
|
||||
if (window == null || window.is_destroyed ())
|
||||
continue;
|
||||
|
||||
if (window.get_parent () == out_group) {
|
||||
|
Loading…
Reference in New Issue
Block a user