natiny.resource.shutdown

Lua
natiny.resource.shutdown()

Shuts down the resource manager and invalidates all resource handles.

Notes

  • The mount stack goes with them, so a program that carries on afterwards mounts again before it loads anything - see natiny.resource.mount. An asynchronous load still waiting is told it failed rather than left unanswered.