summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_atexit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/scripts/lua/test_atexit.lua')
-rw-r--r--indra/newview/scripts/lua/test_atexit.lua3
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)