Does lua.LState safe to reuse for running different code? #391
Unanswered
wyxloading
asked this question in
Q&A
Replies: 1 comment
-
Hi. I reuse my lua states by the following:
I'm not 100% sure that is right way, but it helps me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please answer the following before submitting your issue:
reuse the
lua.LState
and keep the memory usage low ( without the code, params )Could anyone provide an example about how to reuse lua.LState safely?
Beta Was this translation helpful? Give feedback.
All reactions