- fix: viewIndividualSurvey shows "Answer" lines in Survey mode

fixed more spectre memory bugs
This commit is contained in:
JT Smith 2006-06-22 19:45:46 +00:00
parent 5fb7a3c627
commit aa10f84d87
5 changed files with 6 additions and 2 deletions

View file

@ -389,6 +389,7 @@ sub runJob {
$request->header("X-config",$job->{config});
$self->debug("Posting schedule job ".$job->{taskId}." to $url.");
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('runJobResponse') });
$kernel->post( useragent => 'shutdown'); # we'll still get the response, we're just done sending the request
$self->debug("Cron job ".$job->{taskId}." posted.");
}
}

View file

@ -345,6 +345,7 @@ sub runWorker {
$request->header("X-instanceId",$instance->{instanceId});
$self->debug("Posting workflow instance ".$instance->{instanceId}." to $url.");
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('workerResponse') });
$kernel->post( useragent => 'shutdown'); # we'll still get the response, we're just done sending the request
$self->debug("Workflow instance ".$instance->{instanceId}." posted.");
}