natiny.backend.shutdown
natiny.backend.shutdown()
Shuts down the Natiny engine and releases its internal resources. In a web
build, a call made after natiny.backend.loop has scheduled the browser loop
is a no-op because those resources must remain alive for its callbacks.
Example
natiny.backend.init()
-- ...
natiny.backend.shutdown()
Notes
- Should be the last Natiny call before the process exits.