Resource acquisition is initialization

Ensure that resources are properly released by tying them to the lifespan of suitable objects.

Examples in Lua
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Lua!