Correctly terminating Lua

Mar 24, 2015 at 10:58 PM
This is my first time using Lua in a .NET application and I need to keep my scripts loaded during the entire execution time, the solution I've found is to start it without using, but when my application is terminating, what should I do to properly terminate Lua?

I thought in the following code, but I'm not sure if I skipped something:
public void End()
Thanks in advance, and sorry about english errors.
Mar 25, 2015 at 1:50 PM

if you want terminate the whole lua engine. Just call Dispose on from the Lua-Class.
But you do not need to call this, and Dispose also does not free all objects. Because, the might be active code in the application.
Marked as answer by KirieZ on 3/26/2015 at 9:34 AM
Mar 25, 2015 at 3:55 PM
So, if I just close my application everything is ok?
Mar 26, 2015 at 12:13 AM