summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-28 07:11:31 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-03-28 07:11:31 -0400
commitce73e5c5ab0c33673067d9322c98ae8800fa9224 (patch)
tree5efe142b37454a04bedea3319e455ea4c6a2a8e5 /indra/llmath
parent9fbfd3d0ad1ed2cb721129a59421f06fedd071bf (diff)
Terminate Lua scripts hanging in LL.get_event_next().
Make LuaListener listen for "LLApp" viewer shutdown events. On receiving such, it closes its queue. Then the C++ coroutine calling getNext() wakes up with an LLThreadSafeQueue exception, and calls LLCoros::checkStop() to throw one of the exceptions recognized by LLCoros::toplevel(). Add an llluamanager_test.cpp test to verify this behavior.
Diffstat (limited to 'indra/llmath')
0 files changed, 0 insertions, 0 deletions