river-status: don't report destroying views
This commit is contained in:
parent
dd425a3e66
commit
e92b6307d9
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ pub fn sendViewTags(self: Self) void {
|
||||||
|
|
||||||
var it = self.output.views.first;
|
var it = self.output.views.first;
|
||||||
while (it) |node| : (it = node.next) {
|
while (it) |node| : (it = node.next) {
|
||||||
|
if (node.view.destroying) continue;
|
||||||
view_tags.append(node.view.current.tags) catch {
|
view_tags.append(node.view.current.tags) catch {
|
||||||
c.wl_resource_post_no_memory(self.wl_resource);
|
c.wl_resource_post_no_memory(self.wl_resource);
|
||||||
log.crit(.river_status, "out of memory", .{});
|
log.crit(.river_status, "out of memory", .{});
|
||||||
|
|
Loading…
Reference in a new issue