fix: only set status in case the last command block is finished
This commit is contained in:
@@ -20,7 +20,7 @@ class PollActivity extends Component
|
||||
$this->activity?->refresh();
|
||||
}
|
||||
|
||||
if (data_get($this->activity, 'properties.exitCode') !== null) {
|
||||
if (data_get($this->activity, 'properties.status') == 'finished' || data_get($this->activity, 'properties.status') == 'failed' ) {
|
||||
$this->isKeepAliveOn = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user