Skip to content

Commit

Permalink
output: update state even if no owner exists (#8044)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trimutex authored and vaxerski committed Oct 9, 2024
1 parent ad46257 commit 8405aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/core/Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SP<CWlOutput> CWLOutputResource::getResource() {
}

void CWLOutputResource::updateState() {
if (!monitor || !owner || owner->defunct)
if (!monitor || (owner && owner->defunct))
return;

if (resource->version() >= 2)
Expand Down

0 comments on commit 8405aa1

Please sign in to comment.