summaryrefslogtreecommitdiff
path: root/indra/viewer_components
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-10-03 14:00:05 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-10-03 14:00:05 -0400
commitb1955d4247a4d28a3a4c259036390ff632e80008 (patch)
tree3cc4f620431c4cef25dd880e1ff391ada1a2c93b /indra/viewer_components
parent6e1b2e137e2b6c6d92d14f478b6908c0c2f1e231 (diff)
DRTVWR-474: Do NOT autokill updater process on viewer termination.
The updater is required to survive beyond termination of the viewer that launched it so it can launch the next installer, or a replacement viewer. Having the old viewer forcibly terminate it on shutdown would be counter- productive. Introduce a third LLLeap::create() overload taking LLProcess::Params, which gives access to autokill, cwd and other options previously unsupported by LLLeap. Reimplement the existing create() overloads in terms of this new one, since LLLeapImpl::LLLeapImpl() is already based on LLProcess::Params anyway. Use LLProcess::Params in LLAppViewer::init() to specify the updater process, setting autokill=false. Refactoring LLLeapImpl() apparently involved engaging an LLInitParam::Block feature never before used: had to drag operator() into Multiple from its base class TypedParam (as has been done in other TypedParam subclasses).
Diffstat (limited to 'indra/viewer_components')
0 files changed, 0 insertions, 0 deletions