diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-06-21 14:25:05 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-06-21 14:25:05 -0400 |
commit | e05155494cb3a4b24f9e89252e34953e68eb7107 (patch) | |
tree | e5ba2889a182fbc4e1525eb2caae0d13d6922d64 /indra/newview | |
parent | 63e7e0b35dff15a2e06b924945dbb09389723686 (diff) |
Multiple LL.atexit(function) calls run functions in reverse order.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/scripts/lua/test_atexit.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/test_atexit.lua b/indra/newview/scripts/lua/test_atexit.lua new file mode 100644 index 0000000000..6fbc0f3eb1 --- /dev/null +++ b/indra/newview/scripts/lua/test_atexit.lua @@ -0,0 +1,3 @@ +LL.atexit(function() print('Third') end) +LL.atexit(function() print('Second') end) +LL.atexit(function() print('First') end) |