parent
ac658500fb
commit
bc299928ad
3 changed files with 9 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
@ -119,6 +119,9 @@ bool CWLOutputProtocol::isDefunct() {
|
|||
}
|
||||
|
||||
void CWLOutputProtocol::sendDone() {
|
||||
if (defunct)
|
||||
return;
|
||||
|
||||
for (auto const& r : m_vOutputs) {
|
||||
r->resource->sendDone();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue