mirror of
https://github.com/moparisthebest/minetest
synced 2025-03-10 06:39:44 -04:00

Scripts can call minetest.register_on_shutdown() to register a shutdown hook. Document that minetest.register_on_shutdown() callbacks may not be run If the server crashes, it is unlikely that callbacks registered using minetest.register_on_shutdown() will be called.