summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-04-02 11:09:03 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-04-02 11:09:03 -0400
commitf45ae0def221b4e1911e83f2da528174cf1d8a0d (patch)
tree0d68053f8fb0b5353c7ed840f25fd6f5a0dab075 /indra/llrender
parenta75b9a629c1c37ae58fe753922b4282bacf8205f (diff)
Defend leap.request(), generate() from garbage collection.
Earlier we had blithely designated the 'pending' list (which stores WaitForReqid objects for pending request() and generate() calls) as a weak table. But the caller of request() or generate() does not hold a reference to the WaitForReqid object. Make pending hold "strong" references. Private collections (pending, waitfors) and private scalars that are never reassigned (reply, command) need not be entries in the leap table.
Diffstat (limited to 'indra/llrender')
0 files changed, 0 insertions, 0 deletions