Shutdown
Here you can close opened files, free resources, etc.
In AngelScript most of the cleaning up is done automatically. But if you're using C++, this functions becomes useful.
- // called on exit
- // free resources, etc.
- }
Note, that DSP_EXPORT directive is required for C++. In AngelScript you can use it like that.
- // do something important
- }