diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-03-28 07:11:31 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-03-28 07:11:31 -0400 |
commit | ce73e5c5ab0c33673067d9322c98ae8800fa9224 (patch) | |
tree | 5efe142b37454a04bedea3319e455ea4c6a2a8e5 /indra/llwindow | |
parent | 9fbfd3d0ad1ed2cb721129a59421f06fedd071bf (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/llwindow')
0 files changed, 0 insertions, 0 deletions